Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.raspberry-pi > #10380
| From | Russell Gadd <russ.mail.lists@gmail.com> |
|---|---|
| Newsgroups | comp.sys.raspberry-pi |
| Subject | Re: Failure to clone SD card with compression |
| Date | 2016-01-15 07:46 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <n7a7ur$ges$1@dont-email.me> (permalink) |
| References | <n6mgh4$3r6$2@dont-email.me> <vg3a8o9brxq.fsf@coffee.modeemi.fi> <n795he$fq5$1@dont-email.me> <n79egc$f15$1@dont-email.me> |
On 15/01/16 00:29, Martin Gregorie wrote: > On Thu, 14 Jan 2016 21:58:41 +0000, Russell Gadd wrote: > >> A further thought is to use tee when reading the initial file to create >> the checksum while creating the gz file. >> > Alternatively: use rsync to maintain uncompressed backups. > > This is fast because rsync only does the minimum work needed to make the > backup an exact copy of the filing system being backed up. This means > that the first backup is slower than making a dd copy or using tar, but > subsequent backups are a lot faster because unchanged files are not > copied: deleted files are removed from the backup and added or changed > files are backed up again. > > My main backups, which are kept off line are done this way - I back up > all my systems (all Linux - house server, laptop and RPI) to a USB drive > mounted on the house server and kept offline on a firesafe. There are two > backup disks which are used alternately, so there is a backup copy in the > firesafe at all times. If you're just backing up an RPi, the same trick > will work just as well with two or more SD cards and a USB SD card reader. > > rsync is a standard Linux utility program and is part of the Raspbian > distro. You can use it 'bare', but backups are easier if you run it from > a bash script which mounts the SD card, runs rsync configured as you want > it [*] and then unmounts the SD card. > > [*] rsync has a lot of potions for excluding files, etc. You may also > want to use separate rsync runs for each partition on the main SD card. > > I use rsync to back up data using a script, and as you say it is very efficient. I have a NAS which uses 2 2TB drives Raid 0 and I back this up once a day to a 2TB drive on my PC. Might sound a** about face but the NAS is also used by other machines. I also back up online to Amazon S3 using a set of bash scripts I wrote. But for my PC systems I use system images - I like to make a complete image and keep it intact as a historic copy, not updating it. I figure systems only change gradually so occasional copies are fine. Restoration from a backup doesn't need much updating and it's an automatic process anyway, whereas for personal files, updating old copies is a manual operation and damn near impossible to find the incremental source info anyway, so you do need very frequent updates, preferably with means to get back to any older version. I used SpiderOak for this for a while because they save older versions, but their Linux support was non-existent when I had an issue. Wuala was even worse. Which is why I wrote my own. If an old version isn't on my current local backup I can find it online.
Back to comp.sys.raspberry-pi | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Failure to clone SD card with compression Russell Gadd <russ.mail.lists@gmail.com> - 2016-01-07 20:09 +0000
Re: Failure to clone SD card with compression Roger Bell_West <roger+csrp201601@nospam.firedrake.org> - 2016-01-08 00:05 +0000
Re: Failure to clone SD card with compression The Natural Philosopher <tnp@invalid.invalid> - 2016-01-08 00:49 +0000
Re: Failure to clone SD card with compression Adam Funk <a24061@ducksburg.com> - 2016-01-08 11:17 +0000
Re: Failure to clone SD card with compression The Natural Philosopher <tnp@invalid.invalid> - 2016-01-08 12:58 +0000
Re: Failure to clone SD card with compression Adam Funk <a24061@ducksburg.com> - 2016-01-11 14:14 +0000
Re: Failure to clone SD card with compression ray carter <ray@zianet.com> - 2016-01-08 17:19 +0000
Re: Failure to clone SD card with compression Rob Morley <nospam@ntlworld.com> - 2016-01-08 17:30 +0000
Re: Failure to clone SD card with compression ray carter <ray@zianet.com> - 2016-01-08 01:31 +0000
Re: Failure to clone SD card with compression "A. Dumas" <alexandre@dumas.fr.invalid> - 2016-01-08 03:00 +0100
Re: Failure to clone SD card with compression Russell Gadd <russ.mail.lists@gmail.com> - 2016-01-09 10:17 +0000
Re: Failure to clone SD card with compression Dom <domafp@blueyonder.co.uk> - 2016-01-09 11:31 +0000
Re: Failure to clone SD card with compression "A. Dumas" <alexandre@dumas.fr.invalid> - 2016-01-09 14:02 +0100
Re: Failure to clone SD card with compression The Natural Philosopher <tnp@invalid.invalid> - 2016-01-09 12:07 +0000
Re: Failure to clone SD card with compression Russell Gadd <russ.mail.lists@gmail.com> - 2016-01-09 20:10 +0000
Re: Failure to clone SD card with compression The Natural Philosopher <tnp@invalid.invalid> - 2016-01-09 20:34 +0000
Re: Failure to clone SD card with compression Russell Gadd <russ.mail.lists@gmail.com> - 2016-01-10 18:52 +0000
Re: Failure to clone SD card with compression Dom <domafp@blueyonder.co.uk> - 2016-01-10 21:25 +0000
Re: Failure to clone SD card with compression Russell Gadd <russ.mail.lists@gmail.com> - 2016-01-09 20:09 +0000
Re: Failure to clone SD card with compression Dom <domafp@blueyonder.co.uk> - 2016-01-09 20:27 +0000
Re: Failure to clone SD card with compression CPMDude <nospam@somewhere.net> - 2016-01-10 01:40 -0800
Re: Failure to clone SD card with compression Russell Gadd <russ.mail.lists@gmail.com> - 2016-01-10 15:37 +0000
Re: Failure to clone SD card with compression Russell Gadd <russ.mail.lists@gmail.com> - 2016-01-10 15:41 +0000
Re: Failure to clone SD card with compression CPMDude <nospam@somewhere.net> - 2016-01-10 09:18 -0800
Re: Failure to clone SD card with compression Russell Gadd <russ.mail.lists@gmail.com> - 2016-01-10 18:51 +0000
Re: Failure to clone SD card with compression Anssi Saari <as@sci.fi> - 2016-01-12 11:46 +0200
Re: Failure to clone SD card with compression Rob <nomail@example.com> - 2016-01-13 12:18 +0000
Re: Failure to clone SD card with compression The Natural Philosopher <tnp@invalid.invalid> - 2016-01-13 13:31 +0000
Re: Failure to clone SD card with compression CPMDude <nospam@somewhere.net> - 2016-01-13 11:19 -0800
Re: Failure to clone SD card with compression Rob <nomail@example.com> - 2016-01-13 19:33 +0000
Re: Failure to clone SD card with compression The Natural Philosopher <tnp@invalid.invalid> - 2016-01-13 20:55 +0000
Re: Failure to clone SD card with compression CPMDude <nospam@somewhere.net> - 2016-01-13 21:48 -0800
Re: Failure to clone SD card with compression CPMDude <nospam@somewhere.net> - 2016-01-13 21:58 -0800
Re: Failure to clone SD card with compression The Natural Philosopher <tnp@invalid.invalid> - 2016-01-14 06:44 +0000
Re: Failure to clone SD card with compression Rob <nomail@example.com> - 2016-01-14 09:24 +0000
Re: Failure to clone SD card with compression Rob <nomail@example.com> - 2016-01-14 09:40 +0000
Re: Failure to clone SD card with compression The Natural Philosopher <tnp@invalid.invalid> - 2016-01-14 10:35 +0000
Re: Failure to clone SD card with compression Russell Gadd <russ.mail.lists@gmail.com> - 2016-01-14 21:58 +0000
Re: Failure to clone SD card with compression Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-15 00:29 +0000
Re: Failure to clone SD card with compression fruit <fruit@invalid.org.uk> - 2016-01-15 06:25 +0000
Re: Failure to clone SD card with compression Russell Gadd <russ.mail.lists@gmail.com> - 2016-01-15 07:46 +0000
Re: Failure to clone SD card with compression Rob Morley <nospam@ntlworld.com> - 2016-01-15 08:34 +0000
Re: Failure to clone SD card with compression Rob <nomail@example.com> - 2016-01-15 09:47 +0000
Re: Failure to clone SD card with compression Russell Gadd <russ.mail.lists@gmail.com> - 2016-01-15 16:53 +0000
Re: Failure to clone SD card with compression CPMDude <nospam@somewhere.net> - 2016-01-16 01:03 -0800
Re: Failure to clone SD card with compression Rob <nomail@example.com> - 2016-01-16 10:00 +0000
Re: Failure to clone SD card with compression Russell Gadd <russ.mail.lists@gmail.com> - 2016-01-16 20:10 +0000
Re: Failure to clone SD card with compression druck <news@druck.org.uk> - 2016-01-17 11:52 +0000
Re: Failure to clone SD card with compression Ahem A Rivet's Shot <steveo@eircom.net> - 2016-01-17 12:16 +0000
Re: Failure to clone SD card with compression Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-17 13:49 +0000
Re: Failure to clone SD card with compression The Natural Philosopher <tnp@invalid.invalid> - 2016-01-17 14:22 +0000
Re: Failure to clone SD card with compression Alan Adams <alan@adamshome.org.uk> - 2016-01-17 15:00 +0000
Re: Failure to clone SD card with compression Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-17 16:00 +0000
Re: Failure to clone SD card with compression Ahem A Rivet's Shot <steveo@eircom.net> - 2016-01-17 15:44 +0000
csiph-web