LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-22-2010, 06:20 PM   #1
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Rep: Reputation: 54
rsync keeps backing up the same folder even if it did not change


I've had this happen before, but it had magically stopped doing it.

Now it's doing it again. I wrote a bunch of backup scripts that use rsync to manage my backups and at random, certain folders will always get copied no matter what. It's quite anoying, since it makes the backups take longer then they have to. There's no reason to copy a 60GB folder over and over again if it never changed. Why is it doing this?

The command I'm using is:

Code:
rsync -vrbupogl --delete-delay --exclude-from="exclude.txt" ${baksource} /mnt/rembackupdisk/bakdata/ | grep -vi "skipping "
Where ${baksource} is a directory. Most of the stuff works as it should, but some specific folders get backed up no matter what, and by folders, I mean the ENTIRE contents, again and again. Any help would be appreciated, thanks.
 
Old 03-23-2010, 08:05 AM   #2
jvaldivia
Member
 
Registered: Sep 2007
Distribution: Debian Lenny
Posts: 61
Blog Entries: 2

Rep: Reputation: 19
I use rsync -zua $SRC $DEST --log-file=$LOG and a screen session to have it all logged and it update the folder changes properly, give it a try.

I wrote a post with the script I'm using. http://soad1982.blogspot.com/2009/09...te-to-usb.html
 
  


Reply



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
rsync keeps backing up same folders over and over Red Squirrel Linux - Server 9 01-04-2009 11:37 PM
Rsync not backing up MySQL cabron Linux - Server 3 12-26-2007 07:56 AM
rsync and backing up danimalz Linux - Software 12 10-24-2005 12:01 PM
backing up remote folder with rsync and ssh ohcarol Linux - Software 6 01-03-2005 12:43 AM
RSync or another way? Backing Up Off-site. kemplej Linux - Software 0 08-19-2004 04:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:01 PM.

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