Rsync backup issues using relative paths and LVM snapshots

Alex Ferrara alex at receptiveit.com.au
Thu Jul 15 15:47:18 MDT 2010


Thanks for the reply,

I did think about remotely executing a mkdir before the backup, but one blocker is that I will be using Thecus NAS boxes as some off-site locations and I don't have shell access.

The local staging is a good idea. The servers all run Linux.

I will post back with my results.

aF


On 16/07/2010, at 7:39 AM, Henri Shustak wrote:

> 
>> I really want to put the logic in the script so it is easy to bring another backup location online easily.
> 
> If you have shell access to the destination system from your backup script then one option may be to issue 'mkdir -p' via ssh.
> 
>> Creating the directories manually on the destination server is not desirable
> 
> If you using mkdir command via ssh is what you are referring to as a manual process then okay another approach will be required.
> 
> If your OS has support for sparse bundle images then one possible approach could be staging the backup to local media and then once finished unmount the sparse bundle image and then sync this image your remote locations. Below is a link to a script (which currently only supporting Mac OS X) which will synchronize a sparse bundle image to a remote server.
> 
> I would also suggest that a pull backup strategy may also be worth considering. 
> 
>  - http://www.lbackup.org/network_backup_strategies
> 
> If you are distributing your backups to multiple systems one advantage of a pull backup strategy is the ability to move the job of distribution to the backup destination system.
> 
> 
> 
> ----------------------------------
> This email is protected by LBackup
> http://www.lbackup.org
> 
> 
> 



More information about the rsync mailing list