LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-11-2012, 01:19 PM   #1
2jcm
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Rep: Reputation: Disabled
backups


Would like info about dd backups and/or other BU programs
for a newbie. Thanks
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 04-11-2012, 01:24 PM   #2
zuzoa
Member
 
Registered: Nov 2008
Location: USA
Distribution: Arch 64-bit
Posts: 159

Rep: Reputation: 35
IMHO using dd would be an inefficient means of backup up your files, as it will copy, byte for byte, all the data, when in actuality some it is unnecessary. It would be better to have a program or script to copy the files themselves instead of the blocks of data with dd.

Unless you're trying to get a complete image of your hard drive, exactly as you have it, same UUID and everything. For that, dd would work fine.
 
Old 04-11-2012, 03:25 PM   #3
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
http://www.linuxquestions.org/questi...h-help-939071/

that thread has a backup script you are welcome to modify to fit your needs. it handles lftp, tar compression, and rsync out to mount points and or url locations.

the tars are also verified and then encrypted and verified again.

enjoy.
 
Old 04-11-2012, 03:37 PM   #4
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Here is a thread Learn the dd command which can help you in various ways for backups also.
 
Old 04-11-2012, 09:33 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,802
Blog Entries: 13

Rep: Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948
rsync is likely more commonly used for backups than dd.

Back in Time is a graphical front-end for rsync. Sourcetrunk reviewed it a while ago. http://www.sourcetrunk.com/node/130
 
2 members found this post helpful.
Old 04-12-2012, 12:10 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
I would agree on rsync. It is the tool everyone should keep handy for backups combined with tar. Very efficient way of taking backups using scripts and scheduling.
 
1 members found this post helpful.
Old 04-12-2012, 12:47 AM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
I've been tinkering around with duplicity quite a bit lately, and I like what I see so far. It's a python program that has many features in common with rsync, but also seamlessly handles compression and encryption of back-ups (via GPG). You might want to give it a look.
 
Old 04-12-2012, 01:38 PM   #8
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
Quote:
Originally Posted by frankbell View Post
rsync is likely more commonly used for backups than dd.

Back in Time is a graphical front-end for rsync. Sourcetrunk reviewed it a while ago. http://www.sourcetrunk.com/node/130

this looks real nice, im going to play around with this little toy. now just to see if i can get it running on FC5, FC7, and CentOS5.4 as well as CentOS6.2 nice nice nice. should not be to much of an issue if i can learn how to install something from source ... yum, as bad as it is, is nice for people like me who are still cutting their teeth on linux.
 
Old 04-12-2012, 02:16 PM   #9
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
You can also checkout the rsync on wikipedia and also the man page of rsync.

Code:
# man rsync
 
Old 04-12-2012, 08:14 PM   #10
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,802
Blog Entries: 13

Rep: Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948
The biggest issue I faced in setting up an rsync script was figuring out what set of command arguments would meet my needs.

I finally settled on rsync -arv for doing a simple backup of /home from my primary laptop to my file manager for archival purposes.
 
Old 04-13-2012, 12:14 AM   #11
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Yes. Everyone would have different backup needs. Only way to settle down on rsync options is to figure out the exact backup requirement and study rsync thoroughly before implementing. Testing out with dry run to see what rsync exactly is doing helps a lot in determining the options of need.
 
Old 04-17-2012, 06:46 PM   #12
2jcm
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
dd backups

Thanks to all for the replies. Being a newbie, naturally I'm trying (and screwing up) most everything at first. I was an old self taught DOS 1 beginner back in '84. I'm now running a gonzo desktop with Win 7 and an Oracle VMbox with Ubuntu, and Mint 12 LXDE on an old hp laptop. My old desktop is out in the garage and is a dual boot XP & Ubuntu 12.04. All wireless through a D-link. What I'm trying to do is to see how easy or hard it is to maybe "S..t" can Windows entirely.
 
  


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
Backups? katoom187 Linux - Software 3 03-08-2006 03:39 PM
Help with backups??? graystarr Red Hat 2 05-04-2005 05:29 PM
backups shelbyg75 Red Hat 3 09-24-2004 05:16 PM
backups AZDAVE Linux - General 1 11-06-2003 12:05 PM
CD-RW backups Perdido Linux - Software 1 09-09-2003 04:27 AM


All times are GMT -5. The time now is 01:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration