BackupPC-users

Re: [BackupPC-users] USB dongle backup

2014-03-10 19:49:08
Subject: Re: [BackupPC-users] USB dongle backup
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 11 Mar 2014 10:47:32 +1100
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

-- 
Adam Goryachev Website Managers www.websitemanagers.com.au

------------------------------------------------------------------------------
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>