Re: [Burp-users] Backup to USB disk
Brought to you by:
grke
|
From: Alessandro B. <al...@br...> - 2017-03-07 11:14:45
|
Il 06/03/2017 20:30, Tomasz Kontusz ha scritto: > Disclaimer: this is mostly guessing, but I'd like to get my knowledge > checked ;-) Thanks for the info. (and for correcting the subject :D ) > > Dnia 2017-03-06, pon o godzinie 17:21 +0100, alessandro pisze: >> Hi all. >> >> I have tested burp since sometime now, and it seems pretty stable, especially appreciate the VSS support for windows guests. >> >> In some situations I'd need to save the backups to USB disks during night, and let the user change the USB disk when it requires it (ususally once a week). > Is that the main storage location for those backups? > I don't know about protocol 2, but the way protocol 1 works you can > just mount the USB drive at the backup storage location > (/var/spool/burp on Debian) - burp should just do a full backup after > that. The one thing to check is if you need to restart the burp server > after removing that data - I'm not sure what is cached by the server. > Yes, it's the main backup storage. It's supposed to be swapped and put in a safe location, so to protect it from fire or thiefs. Of course, as I know when I'll start the process I could start the server and the backup after mounting the USB drive, though what about the umount? >> Right now I simply use rsnapshot with a mount and umount command before the launch at a certain time. >> >> Though having burp a server (with a repository directory) I'm not sure this can be done, and how. >> >> Probably I would need to force the backup from the server so to be sure that the USB disk has been mounted and once all the clients have been backed up umount it. > I'm not sure unmounting the disk while no backup is running will work > - burp has to access that data to know if a new backup is needed. > Actually, I think you can just leave the USB stick mounted (assuming a > journaling FS) and run `sync -f /var/spool/burp` after backup just to > be sure. > Most FSes won't lose data that was not being written when the USB disk > was removed, so you should lose at worst the ongoing backups. > Well, I'd really would want to avoid having the disk mounted while it's being removed. >> Any suggestion on how to set this up would be appreciated. >> >> Is there a preferred/optimized FS for the backups (EXT4, XFS, ZFS) ? >> Also would there be any problems in using a NFS storage for backups (thinknig about a NAS) > I haven't tried NFS, but I can confirm CIFS works :-) CIFS even for UNIX backups? What about 2 files with the same name but one Uppercase and the other lowercase? Alessandro |