LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-07-2024, 08:13 AM   #16
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,976

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553

Quote:
Originally Posted by rkelsen View Post
If you don't want file versioning, then you can use rsync as suggested above.

If you want file versioning, then I can recommend rsnapshot: https://rsnapshot.org/. It's simple and robust, and hasn't disappointed me once since I started using it. It optimises space usage by using a combination of rsync, hard links and deltas. For example: I have a 62Gb data set, for which I started using rsnapshot almost 2 years ago. At this point I have 7 daily, 4 weekly, 12 monthly and 1 annual backups in 77Gb of hard drive space.
I second the use of rsnapshot. I been using since 2012. I have 7 daily, 4 weekly 4 and 3 monthly 3 backups. In the past I used rsnapshot to backup a single directory. You can also setup remote backups via ssh. Did that with my son's computer until he moved out. I've done several full system restores over the years. I most frequently use I use it for file recovery. Today, a few minutes ago in fact I restored six files I pulled an oops on.
 
Old 04-07-2024, 11:50 AM   #17
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 15.0
Posts: 619

Rep: Reputation: 299Reputation: 299Reputation: 299
[QUOTE=GazL;6494601]Misformed command: the wildcard is in the wrong place. Should be after the archive file. Also, use of "*" won't include any dot files.

Yup - sorry - I was just working from memory. As a rule, I would NEVER create a "dot" file if I had the choice - those are done by other programs for configs and the like. So "normal" names are what I'm generally interested in. But you are 100% correct. Could have done "* .*" I think I was just pointing out a rather simple command line technique that people like myself use on real production work servers daily - esp for quick+dirty backups.

I tend to rely on program that I KNOW are on EVERY version of Linux/Solaris/*bsd server. And that will almost always mean a non-gui one. Tar is a goto everytime. Zip/pax are a bit iffy. Rsync (wow - genius program) cuts most times - but not on esoteric old machines.

Last edited by Mark Pettit; 04-07-2024 at 11:54 AM.
 
Old 04-07-2024, 05:43 PM   #18
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,184

Rep: Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765Reputation: 1765
For data archiving I prefer dar over tar.

Some reasons given here. The author also has an article on the difference between backup and archival of data.

Useful dar tips and workflow here.

.
 
  


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
Simple way to get root view of folder? greenace92 Linux - Newbie 7 01-14-2016 07:18 AM
[SOLVED] Better way to create a folder for each month, with another folder inside of each anon091 Linux - Newbie 9 12-03-2012 10:38 AM
Simple Slackware vs simple Arch vs simple Frugalware punchy71 Linux - Distributions 2 08-28-2012 02:30 PM
A script within a folder to delete the folder, script, and the folder's contents Cyberman Programming 15 10-17-2007 07:32 AM
Back button to Go Back? javamdk Linux - Newbie 2 07-08-2004 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:41 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