BackupPC-users

Re: [BackupPC-users] USB dongle backup

2014-03-10 21:02:00
Subject: Re: [BackupPC-users] USB dongle backup
From: Claude Gélinas <claude AT phyto.qc DOT ca>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 10 Mar 2014 21:00:26 -0400
Le Tue, 11 Mar 2014 10:47:32 +1100,
Adam Goryachev <mailinglists AT websitemanagers.com DOT au> a écrit :

> On 11/03/14 09:43, Claude wrote:
> > Hi,
> >
> > As I'm using BackupPC since many years for all my computers and
> > laptop I'm wondering if it is possible to setup an automated backup
> > system to catch my many usb dongle as I'm comming back to the
> > office.
> >
> > I want to insert these in a usb bay until next morning so backuppc
> > will detect them and make a backup
> >
> > How to proceed. Is it possible to format these usb dongle to give
> > them a unique name so backuppc will recognise them as they are
> > plugged into the bay
> 
> You didn't specify what OS this is on, but if it is on Linux, then
> you can set a Label on the filesystem, and then it can be automounted
> on /media/Label. If you set each stick with a unique label, then they
> will be mounted in a unique location.
> 
> Then depending on your xfer type (rsync, tar, etc) then you may need
> to ensure you do not use the options to only backup a single 
> filesystem/mountpoint.
> 
> Finally, the issue you have is that some backups will include a copy
> of your USB (if it was connected at the time the backup was done)
> while other backups will not. You don't have a good method of easily
> finding the most recent backup which includes the USB backup, nor can
> you prevent the last USB backup from being expired.
> 
> Another option (if you have a small number of such USB sticks) would
> be to configure each USB as a "host", use the hostalias to redirect
> back to your real host, ensure your real host does use the single
> filesystem options so the USB doesn't get backed up there. Then each
> USB alias will only backup it's own directory where the usb has been
> automounted. Finally, set the option to fail the backup if no files
> are successfully backed up, so that empty backups will not replace /
> expire good backups.
> 
> Finally, one last option is to use a prebackup script within the
> alias, which will mount the USB or prepare things for you as needed.
> 
> Hope this provides some ideas which help.
> 
> Regards,
> Adam
> 

Sorry the backuppc server is on linux and I can plug the usb directly
on that server. 

I'm gonna give a specific label to each usb key
then try to backup them as a specific host with host alias

Thanks,

-- 
Claude Gélinas agr.
Phyto Ressources Inc

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
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/
<Prev in Thread] Current Thread [Next in Thread>