Menu

alternate backup destination?

Help
Anonymous
2007-02-25
2013-02-05
  • Anonymous

    Anonymous - 2007-02-25

    Hi, I was wondering if there is a way to set up an alternate backup location in case the default one is not present (like an external hard drive).

    For instance, I would like to set it up so that it first checks if the ftp site is available so I can do an online backup.  If that was not available (not connected to the internet), I want to be able to backup to an external hard drive that I have.  If that still doesn't work, I'd like to backup to a special partition on my internal hard drive.

    Is there any way to do this using sbackup?

    Thanks

     
    • Aigars Mahinovs

      Aigars Mahinovs - 2007-03-02

      THis can be done with bash scripting using sbackupd command-line arguments, like this:

      if -x /first/backup/dir; do sbackupd --config=/etc/sbackup.first.conf; elif; do sbackupd --config=/etc/sbackup.second.conf; fi

      (I do not remember bash syntax at the moment, but you get the idea)

       

Log in to post a comment.