LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-16-2014, 02:45 PM   #16
J.D.
LQ Newbie
 
Registered: Jun 2013
Posts: 9

Rep: Reputation: Disabled

Quote:
Originally Posted by ruario View Post
Hmm ... perhaps I did not reload the thread between your initial reply and mine.



That is not a problem that I raised.



You need only a single byte corruption near the start of a compressed archive to ruin everything if you have no extra backups or other forms of redundancy.




OK, hope you manage to get it back.
Thanks I already got it back its just logged in my desktop so I didn't pay attention when replying.
 
Old 03-17-2014, 06:37 AM   #17
rouvas
Member
 
Registered: Aug 2006
Location: Greece
Distribution: Slackware.12.2
Posts: 85
Blog Entries: 2

Rep: Reputation: 6
@Diantre: Correct. http://www.mikerubel.org/computers/rsync_snapshots/ has inspired me.

@jheengut: I like to enclose my scripts in pushd/popd to ensure that they start in a predictable directory and they return to the previous location when finished. Most of the times it is not strictly required, it's just a habbit of mine.

@moisespedro: rsync, does not compress files for storage, it does compress them during transfer.
 
Old 03-17-2014, 04:59 PM   #18
urulab
LQ Newbie
 
Registered: Nov 2013
Posts: 5

Rep: Reputation: Disabled
incremental daily backup

I use this lines in cron.daily script:

/usr/bin/rsync --delete-excluded --backup --backup-dir=snapshots/$(date +%Y%m%d) -a /home
 
Old 03-18-2014, 06:06 AM   #19
rouvas
Member
 
Registered: Aug 2006
Location: Greece
Distribution: Slackware.12.2
Posts: 85
Blog Entries: 2

Rep: Reputation: 6
Quote:
Originally Posted by urulab View Post
I use this lines in cron.daily script:

/usr/bin/rsync --delete-excluded --backup --backup-dir=snapshots/$(date +%Y%m%d) -a /home
If it works for you, then it is fine, just don't call it "incremental" because it isn't.
It is a full backup.
 
Old 03-18-2014, 07:33 AM   #20
urulab
LQ Newbie
 
Registered: Nov 2013
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by rouvas View Post
If it works for you, then it is fine, just don't call it "incremental" because it isn't.
It is a full backup.
A single full backup is a true copy of the latest amendment is created. The "snapshots" directory contains various files of past backups.

Please see du -sh on backup dir.

Regards --cesar
 
Old 03-19-2014, 05:50 AM   #21
rouvas
Member
 
Registered: Aug 2006
Location: Greece
Distribution: Slackware.12.2
Posts: 85
Blog Entries: 2

Rep: Reputation: 6
Quote:
Originally Posted by urulab View Post
A single full backup is a true copy of the latest amendment is created. The "snapshots" directory contains various files of past backups....
Let me state again, that if it works for you it is fine, but I still insist that you are not performing an incremental backup.

https://en.wikipedia.org/wiki/Incremental_backup
"...An incremental backup is one that provides a backup of files that have changed or are new since the last incremental backup;[1] it is one that backs up only the data that changed since the last backup be it a full or incremental backup..."

The rsync command you have stated, does a full copy of the /home directory, it does not copy only changes files since the last backup. Hence, it is not an incremental backup, rather a full backup of the /home directory.

But, lets leave it at this. You are obviously happy with your backup scheme, so there is no point in this conversation.
 
  


Reply


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
Setting up External Hard Drive (USB) as a backup system on Slack 12.0 thethinker Slackware 4 01-06-2009 04:06 PM
backup directories to move from Slack 12 to Slack 12.1 linuxhippy Slackware 1 11-10-2008 11:33 PM
An ideal WM HEMMLine Linux - General 14 05-29-2007 09:33 PM
How should I backup my Slack 10.2 nhouseman85 Slackware 6 02-18-2006 02:26 AM
backup files over network on Slack 9 ne21 Slackware 2 04-09-2004 01:21 AM


All times are GMT -5. The time now is 05:26 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration