Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #247210
| From | Default User <hunguponcontent@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: backing up backups |
| Date | 2022-04-14 05:10 +0200 |
| Message-ID | <EbY1P-8BoS-1@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <EaUCZ-7Xpk-1@gated-at.bofh.it> <Eb4M1-83yt-9@gated-at.bofh.it> <EbO2u-8vaf-29@gated-at.bofh.it> <EbO2u-8vaf-27@gated-at.bofh.it> <EbS65-8xyG-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Wed, Apr 13, 2022 at 4:42 PM David Christensen <dpchrist@holgerdanske.com> wrote: > On 4/13/22 09:20, Default User wrote: > > >> Hey guys, sorry for just getting back with you now. > >> Unfortunately, I am just now recovering from a self-inflicted computer > >> disaster. > >> > >> While fighting with rsync, I did either: > >> > >> sudo rsync -aAXHSxvv --delete --info=progress2,stats2,name2 > >> /media/default/MSD1/ /media/default/MSD2 > >> or > >> sudo rsync -aAXHxvv --delete --info=progress2,stats2,name2 > >> /media/default/MSD1/ /media/default/MSD2/ > >> > >> Just one small problem: MSD2 was not connected to my computer! > >> (Don't say it . . . ) > >> > >> Instead of giving an error message, rsync just created a directory on my > >> computer called /media/defaultMSD2, and filled it up until my / > partition > >> was full, and THEN my desktop environment (Cinnamon) popped up a > >> notification saying so. How thoughtful. > >> > >> The computer then would not reboot into the operating system. > >> > >> No problem, I say. I will just use Timeshift to restore from its backup > of > >> a few hours earlier. > >> > >> But that did not work, even after deleting the extra directory, and > trying > >> restores from multiple Timeshift backups. > >> > >> Anyway, I never could fix the problem. But I did take it as an > opportunity > >> to "start over". I put in a new(er) SSD, and did a fresh install, > replacing > >> Cinnamon with Gnome. Mistake - now I remember why I dislike Gnome, ever > >> since Gnome 3. Wish I had re-installed Cinnamon, but too late now, out > of > >> time. For now I will just have to grit my teeth and live with it. > >> > >> [BTW, yes, I do have all of my data. Backfilling it into my new setup > will > >> no doubt be an ongoing adventure.] > >> > >> Anyway, just a few notes about the rsync situation: > >> > >> 1) Having or not having a trailing / on the destination directory did > not > >> seem to make any difference in the size of the copy made, or otherwise. > >> Nevertheless, I intend to heed the advice given to have a trailing / > after > >> both source and destination, or neither, as appropriate. > >> > >> 2) Using or not using an "S" option with rsync did not seem to make any > >> difference, at least concerning the size of the copy made. > >> > >> 3) Yes, I really should check into using checksums to avoid "bot rot". > >> Good advice. > >> > >> Finally, Gnome sucks. (Did I mention that?) > >> > >> Thanks for the replies. > > > Congratulations! You now have more experience: > > "Doing things right is a matter of experience. Experience is a matter > of doing things wrong." > > > As you find system administration commands that work, put them into > scripts: > > #!/bin/sh > sudo rsync -aAXHxvv --delete --info=progress2,stats2,name2 > /media/default/MSD1/ /media/default/MSD2/ > > > Use a version control system for system administration. Create a > project for every machine. Check in system configuration files, > scripts, partition table backups, encryption header backups, RAID header > backups, etc.. Maintain a plain text log file with notes of what you > did (e.g. console sessions), when, and why. > > > Put your OS on a small, fast device (e.g. SSD) and put your data on an > array of large devices (e.g. ZFS pool with one or more HDD mirrors). > Backup both as before. Additionally, take images of your OS device. > > > David > > Yikes! David, I really think I am too old to learn all of that. But maybe I can learn at least some of it, over time. Please understand that I am not training to be a real system administrator, except that I guess anyone is (or should be able to be) actually the "system administrator" of their own computer(s). Anyway, thanks for the advice.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
backing up backups Default User <hunguponcontent@gmail.com> - 2022-04-11 05:00 +0200
Re: backing up backups David <bouncingcats@gmail.com> - 2022-04-11 05:20 +0200
Re: backing up backups Default User <hunguponcontent@gmail.com> - 2022-04-11 06:00 +0200
Re: backing up backups David Christensen <dpchrist@holgerdanske.com> - 2022-04-11 06:50 +0200
Re: backing up backups <tomas@tuxteam.de> - 2022-04-11 07:20 +0200
Re: backing up backups David Christensen <dpchrist@holgerdanske.com> - 2022-04-11 18:10 +0200
Re: backing up backups Default User <hunguponcontent@gmail.com> - 2022-04-13 18:30 +0200
Re: backing up backups David Christensen <dpchrist@holgerdanske.com> - 2022-04-13 22:50 +0200
Re: backing up backups Default User <hunguponcontent@gmail.com> - 2022-04-14 05:10 +0200
Re: backing up backups David Christensen <dpchrist@holgerdanske.com> - 2022-04-14 09:30 +0200
Re: backing up backups Default User <hunguponcontent@gmail.com> - 2022-04-18 22:10 +0200
Re: backing up backups David Christensen <dpchrist@holgerdanske.com> - 2022-04-19 00:50 +0200
Re: backing up backups David Wright <deblis@lionunicorn.co.uk> - 2022-04-21 23:00 +0200
Re: backing up backups Keith Bainbridge <keithrboz@gmail.com> - 2022-04-19 06:00 +0200
Re: backing up backups David Wright <deblis@lionunicorn.co.uk> - 2022-04-19 18:10 +0200
csiph-web