Re: [BackupPC-users] Rsync remote to local dir first, backup local, restore to remote?
2014-09-11 10:36:48
On Thu, Sep 11, 2014 at 8:19 AM, Pavel Hofman <pavel.hofman AT ivitera DOT com>
wrote:
>
> * RestorePreUserCmd - sudo sshfs remote-dir local-dir
> * restoring to local dir using sudo rsync....
> * RestorePostUserCmd - sudo umount ....
>
> It seems to work OK, I just have to make sure backup and restore
> operations do not run concurrently. I wish there was a way to tell
> Backuppc to lock out the other one automatically. The mutual locking is
> doable using scripts though...
It's not automatic, but you can go to a host page and 'stop' a backup
even if it is not running, and you will have the opportunity to delay
subsequent runs for some amount of time.
--
Les Mikesell
lesmikesell AT gmail DOT com
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
Previous by Date: |
Re: [BackupPC-users] Rsync remote to local dir first, backup local, restore to remote?, Les Mikesell |
Next by Date: |
Re: [BackupPC-users] Rsync remote to local dir first, backup local, restore to remote?, Pavel Hofman |
Previous by Thread: |
Re: [BackupPC-users] Rsync remote to local dir first, backup local, restore to remote?, Pavel Hofman |
Next by Thread: |
Re: [BackupPC-users] Rsync remote to local dir first, backup local, restore to remote?, Pavel Hofman |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|