SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Remote backup server without root and rdiff-backup?
Author Message
Post Remote backup server without root and rdiff-backup? 
Jens Benecke wrote:
Will permissions etc. be preserved for restoring if I do something like

rdiff-backup --exclude /BACKUP / /BACKUP
rsync -avze ssh /BACKUP user < at > backup-server:/home/user/

although I'm not root on the remote machine? If disaster happens, would I be
able to rsync everything back to my local machine into /BACKUP, and then
call
rdiff-backup -r /BACKUP /

(or something like that)?


Yeah I think that will work fine. rdiff-backup in the 0.13 series stores
its metadata (like permissions) in a seperate file. This means that your
plan should work fine. I don't recommend backing up / completely - you
can find lots about that in the archives.
Thanks for updating the wiki :)

dave

Post Remote backup server without root and rdiff-backup? 
David Kempe wrote:

Jens Benecke wrote:
Will permissions etc. be preserved for restoring if I do something like
rdiff-backup --exclude /BACKUP / /BACKUP
rsync -avze ssh /BACKUP user < at > backup-server:/home/user/

Yeah I think that will work fine. rdiff-backup in the 0.13 series stores
its metadata (like permissions) in a seperate file. This means that your

Great. I am also thinking about mounting the local backup directory
"nosuid,noexec,nodev" (it is /home), this should not affect rdiff-backup's
operation, right?

plan should work fine. I don't recommend backing up / completely - you
can find lots about that in the archives.

So rdiff-backup is not suitable for "crash recovery" type backups? I am
already excluding a list of directories:

/BACKUP/**
/home/tmp/**
/cdrom/**
/dev/**
/floppy/**
/initrd/**
/lost+found/**
/mnt/**
/proc/**
/tmp/**
/var/tmp/**
/var/run/**
/var/state/logcheck/**

Thanks for updating the wiki :)

No problem :)


btw: I just found out about SHFS. (http://shfs.sf.net) It lets you mount
directories via SSH. It performs quite well (~1-2MB/s) so it might be
suitable for remote rdiff-backup where only SSH access is possible.
I'll try doing remote backups that way.



--
Jens Benecke
http://www.hitchhikers.de - Europas kostenlose Mitfahrzentrale seit 1998
http://www.rb-hosting.de - Webhosting mit Extras - PHP ab ¤9 - SSH ab ¤19
http://www.spamfreemail.de - 100% saubere Postfächer, garantiert!

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB