Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 02-24-2020, 10:10 PM   #1
Registered: Jun 2005
Location: Fargo, North Dakota
Distribution: Debian Testing (again!)
Posts: 349

Rep: Reputation: 88
Recent Problems Due to Update

Running testing branch (named "Bullseye")
A recent update ALMOST screwed my backups.

I do an rsync with deleting old files, apparently the update, somehow, for some reason, renamed some of my mount locations.

I was a bit puzzled as my partitions had been pointing to the wrong mount points

I thought really hard and did a reboot, and everything went back to "normal". I changed my backup scripts to NOT do any deletions on my /home/VIDEO and /home/VDO partitions, and I will have to check these drives unless it happens again.

Question: Why did this happen, and does anyone else have similar problems?

I am including my backup script. It's not pretty, as I had a stroke in 2011 and I have really bad short-term-memory loss.

//begin horrible script


rm -vfr /home/kevin/file\:
rm /home/kevin/.xsession-errors
rm /home/kevin/.wine/drive_c/Program\ Files/Steam/bin/cef/cef.win7/debug.log

rsync --archive --delete --verbose --progress --stats /bin /home/BACKUP1/
rsync --archive --delete --verbose --progress --stats /boot /home/BACKUP1/
rsync --archive --delete --verbose --progress --stats /etc /home/BACKUP1/
rsync --archive --delete --verbose --progress --stats /lib64 /home/BACKUP1/
rsync --archive --delete --verbose --progress --stats /lib /home/BACKUP1/
rsync --archive --delete --verbose --progress --stats /opt /home/BACKUP1/
rsync --archive --delete --verbose --progress --stats /PUBLIC /home/BACKUP1/
rsync --archive --delete --verbose --progress --stats /root /home/BACKUP1/
rsync --archive --delete --verbose --progress --stats /sbin /home/BACKUP1/
rsync --archive --delete --verbose --progress --stats /usr /home/BACKUP1/
rsync --archive --delete --verbose --progress --stats /var /home/BACKUP1/
rsync --archive --delete --verbose --progress --stats /home/kevin /home/BACKUP1/
rsync --one-file-system --archive --verbose --progress --stats /home/VDO /home/BACKUP1

rsync --one-file-system --archive --verbose --progress --stats /home/VIDEO/ /home/BACKUP2

//end horrible script

{{OK, I know it looks bad}}

Thank you for your time, and have a good day!
Old 02-27-2020, 09:16 AM   #2
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 11,669

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
Hi Kevin,

My stroke was in 2015, but my memory fortunately escaped damage. My bladder control didn't

With a testing distro, you're on the 'bleeding edge.' So you bleed. If a reboot fixed it, I would report it back but I wouldn't worry. It sounds like something had a brain fart. You might get it in the logs in /var/log. If you rebooted, dmesg is gone.

If it happens again, do a 'dmesg >file' command before closing and look at it when you boot.
I have a usb disk for backup, and keep thing small. My backups are of the variety

cd <destination>
rsync -av <source> . && sync


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Debian Testing, Recent Update Update May Have Caused A Lag on KDE kevinbenko Linux - Newbie 5 12-31-2017 10:14 PM
Googlecl stops work due change OAutGooglecl stops work due change OAuth 1.0 to OAuh 1.0 to OAuth 2.0 neymac Slackware 5 11-21-2015 03:26 PM
puppy thoughts after having a recent look see -- given recent developments .. jonyo Puppy 0 11-29-2011 08:45 PM
Kernel Deleted due to Upgrade, Cannot Reinstall Kernel due to Dependency Issues Kenji Miyamoto Debian 2 02-17-2007 09:44 AM
Error USB-HUC on booting due in mdk10 due to mx700 Boudewijn Mandriva 4 10-09-2004 08:36 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration