Re: [Dorset] Rsync & grsync backups - help please
On 08/10/15 09:44, Ralph Corderoy wrote: Hi Peter Tim wrote: Take a look at rdiff-backup which uses rsync libs. It's possible to exclude specific directories (--exclude or --exclude-globbing-filelist). If you call it from a daily cronjob you can back up multiple directory trees by running it sequentially on those. The most recent backup is fully accessible and earlier backups are compressed diffs. Can do remote backups over SSH. Been using it for around 15 years - does the job. I was also going to suggest http://www.nongnu.org/rdiff-backup/ The backup is a simple copy of the original in appearance, so you can cp(1) files out of it, etc. There's one addition, a directory starting with `.' where it stores all the information about the previous versions of that directory so it can switch to them. And whereas rsync is about transferring only the changes, rdiff-backup uses the mechanism to store only the changes, handy if there's a large file where only a few bytes in the middle change every day. It has a lot of users. Cheers, Ralph. OK, I created a script which runs rdiff-backup and I have finally got it working to do a backup that looks OK. I am quite pleased with it. The only error message was about a file that I had open with Kate. I see that I can find everything in case I need to restore too. Now to test it as a future incremental backup. The only question that I have before I continue is that on my backup media I have a directory called pictures already, and will this overwrite it, or just do the incremental backup on it? The script looks like this: # Program to backup /Home/peterm to USB store using rdiff-backup # as suggested by Ralph Corderoy # October 12 2015. # Intention is to do one full backup per year and then monthly append to it. # separate backup for pictures. can it be done to pictures directory on backup unit? # may want to clean out firefox/chrome caches first. # rm ~/.mozilla/firefox/*.default/*.sqlite ~/.mozilla/firefox/*default/sessionstore.js rm -r ~/.cache/mozilla/firefox/*.default/* rdiff-backup --exclude "/home/peterm/My_Pictures/" /home/peterm/ "/media/peterm/Expansion Drive/U-backup-oct15" # now backup the pictures # rdiff-backup "/home/peterm/My Pictures/" "/media/peterm/Expansion Drive/pictures" -- I also need to exclude the dropbox folder from the backup process. On the XP box I created a batch file that uses xcopy and that is satisfactory for me. Thanks for all the help and advice. Peter -- Next meeting: Bournemouth, Tuesday, 2015-11-03 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR
[Dorset] Garmin Sat Nav Registration & Up-dates
Hi All Just bought a Garmin Sat Nav and found I can't Register or Update it using Linux! Very helpful 'Customer Support' returned my request for advice as I tried Registering on their Web Site to no avail. Their reply simply said Use Windows!! Does anyone have a work around for this problem please as I don't have anything with either Windows or Mac systems. Does anyone know if Garmin software will run under Wine, as that could be a way forward? I'm still in CH and hope to use it for the return trip via France (usually come via Germany/Belgium). Hope to make next meeting if I can get a clashing meeting moved. -- *C A Wills* /Supporting Linux Mint & Open Source/ -- Next meeting: Bournemouth, Tuesday, 2015-11-03 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR
Re: [Dorset] Garmin Sat Nav Registration & Up-dates
Work-around: Use OpenStreetMap data. You can download pre-made files for Garmin GPSes from here: http://garmin.openstreetmap.nl/ You can either download an entire country, which is easy and you don't have to wait for it to be generated, or you can select the tiles you want from the map on that page and wait for the file to be created for you. If you can swap memory cards, connect to a computer while on your trip, or if your Garmin GPS allows multiple gmapsupp.img files on it then downloading the five(?) countries you need could be easiest. You want "osm_generic_gmapsupp.zip", and to extract the file to "/Garmin/gmapsupp.img" on an SD card or to the internal memory on the device, assuming it has a USB cable and acts as a mass storage device. There's more information here: https://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/Download If you want a small country to test it on, Andorra is only 11MB uncompressed. France is 1.1GB compressed. You're probably limited to 4GB per (uncompressed) file due to FAT32. -- Andrew. On 15/10/15 17:41, C Wills wrote: Hi All Just bought a Garmin Sat Nav and found I can't Register or Update it using Linux! Very helpful 'Customer Support' returned my request for advice as I tried Registering on their Web Site to no avail. Their reply simply said Use Windows!! Does anyone have a work around for this problem please as I don't have anything with either Windows or Mac systems. Does anyone know if Garmin software will run under Wine, as that could be a way forward? I'm still in CH and hope to use it for the return trip via France (usually come via Germany/Belgium). Hope to make next meeting if I can get a clashing meeting moved. -- Next meeting: Bournemouth, Tuesday, 2015-11-03 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR