Backup solutions for linux

Linux software discussion forum.

Backup solutions for linux

Postby QuantumKnot on February 27th, 2008, 1:17 pm

I'd like some recommendation on an easy way to make incremental backups. I'm currently looking at rdiff-backup, which is a python script that calls rsync.

http://www.nongnu.org/rdiff-backup/examples.html

It doesn't look too hard to use. But I'm curious to see if there are other solutions.
Image
User avatar
QuantumKnot
Linux Adept
 
Posts: 101
Joined: January 21st, 2008, 11:58 am

Re: Backup solutions for linux

Postby kamil on February 27th, 2008, 8:24 pm

rdiff-backup seems like a good tool to do it. I used to use the following incremental backup that uses rsync and is written in perl (Ben forwarded it my way):
Code: Select all
#!/usr/bin/perl -w
use strict;

my $host="kamil\@spl64_0";
my $bkuppath="/home/kamil/rsync/backup_new/backup";
my $local="/path_to_backup/";
my $n;
my $N=10;

print("deleting backup.$N ...\n");
system("ssh $host rm -rf $bkuppath.$N");

for($n=$N-1; $n>0; $n--)
{
    print("copying backup.$n ...\n");
    system("ssh $host mv $bkuppath.$n $bkuppath.".($n+1));
}

print("copying backup.current ...\n");
system("ssh $host cp -al $bkuppath.current $bkuppath.1");

print("rsync backup.current ...\n");
system("rsync -vaL -e ssh --delete $local $host:$bkuppath.current");

however I dont bother making incremental backups anymore... I just use rsync for full backups once a week :idea:
Code: Select all
rsync -vae ssh --delete /path_to_backup user@spl2:/storage_on_server

if you really want to use a truly incremental approach, then use git, svn or cvs :P
User avatar
kamil
Linux Adept
 
Posts: 119
Joined: January 18th, 2008, 1:22 am
Location: Brisbane, Australia

Re: Backup solutions for linux

Postby albertdeny on July 26th, 2010, 3:52 pm

I use Grsync and tutorial coming up today, took the faster and more reliable. The simulation mode and compression in transition is another feature of rsync. Working quickly, no stalls or crashes. Unison is also good but slow in the index. Moreover, it has not so much that my external hard drive formatted in NTFS. Works well in most cases, however. sbackup is not always reliable tries to run the GUI can both get the app to hang, deamon is sometimes more difficult. But good works, except he did not so much that my external hard drive formatted in NTFS, like Unison.
albertdeny
New Member
 
Posts: 5
Joined: July 26th, 2010, 3:20 pm

Re: Backup solutions for linux

Postby dain45yl on March 1st, 2011, 2:58 pm

this is the interesting information about the software modes .
I really like the method and techniques to use this software.
dain45yl
Member
 
Posts: 10
Joined: February 28th, 2011, 3:24 pm

Re: Backup solutions for linux

Postby curious788 on September 6th, 2011, 1:10 am

This information is no doubt very useful for new Linux users. Thanks for sharing.
curious788
New Member
 
Posts: 4
Joined: June 23rd, 2011, 11:54 pm

Linux Training In Chandigarh

Postby amendaa on October 18th, 2011, 11:32 pm

What is linux, its use and benefits.
installation.
Open office (word processor, spreadsheet, presentation)
G IMP Pidgin, Skype, Bluefish , Multimedia, cd/dvd burning
Working with different web browsers
Working with evolution/thunderbird (mail clients)
Internet connectivity (IP addressing, static/dynamic IP setting,Wi-Fi setting)
emule
Any other topic can also be covered on candidate's demand.
We also provide industrial training(job oriented) in LINUX(system & network administration),SEO,CCNA,JAVA,C, C++,Web Designing,Ethical Hacking,PHP with WHM (cpanel,webmin)& CMS(joomla/drupal)..
We do not criticize any proprietary software, we motivate people to either pay for proprietary software or use free software.
So we need your involvement in this activity.
Help us to make our nation PIRACY FREE
Mr. Navneet Sharma
navneetlinuxexpert@gmail.com
http://www.linuxtraining.blogspot.com
http://navneetlinuxexpert.blogspot.com
amendaa
New Member
 
Posts: 6
Joined: October 18th, 2011, 11:26 pm

Re: Backup solutions for linux

Postby Pulkkinen on November 9th, 2011, 8:28 pm

You can use tar for increment backup. But rsync command is better for increment backup.
Example:
rsync -azvr /source/path/ /backup/path/

When you use this command, you don’t need to re-backup every file. It will only backup changed files.
Pulkkinen
New Member
 
Posts: 1
Joined: November 9th, 2011, 1:29 pm

Re: Backup solutions for linux

Postby Enidgenevieve on November 17th, 2011, 1:05 pm

arc script accepts a single file or directory name as a parameter, create a compressed archive file, and the current date embedded into the generated archive file name. For example, if there is a directory called beoserver, you can call the arc script and beoserver directory name passed to the script to create a compressed archive, such as beoserver.20040321-014844.tgz.
Enidgenevieve
New Member
 
Posts: 1
Joined: November 14th, 2011, 5:28 pm
Location: America

Re: Backup solutions for linux

Postby jenifer2338 on January 10th, 2012, 3:41 am

I like this system of skipping in the middle of a game. This feature is really beautiful. thank
jenifer2338
New Member
 
Posts: 1
Joined: January 10th, 2012, 3:37 am


Return to Software

Who is online

Users browsing this forum: No registered users and 0 guests

cron

dsplabs homelinux bloglinux forums new!travel photography
©2012 dsplabs.com.au