Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-27-2013, 03:45 AM
|
#1
|
Member
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423
Rep:
|
Network Backup application
Hello.
I have set up a pc for network backup but i cannot decide the way to do it ?
Found many applications out there but which one you suggest? which one you use ?
All i want to do is just to take backup from specific dirs and store them in the backup PC through network ?
Thanks.
|
|
|
07-27-2013, 02:00 PM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992
|
we need much more information then you have provided.
how many systems, what OS are they running, how are they connected, how much data to backup, etc...
|
|
|
07-27-2013, 04:51 PM
|
#3
|
Member
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423
Original Poster
Rep:
|
there are 3 computers and all are running linux. They are not connected with samba or nfs . They are in the same network behind the same switch.
We dont talk about a big amount of data to backup. Just some documents and misc files.
|
|
|
07-27-2013, 04:59 PM
|
#4
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
I've been using duplicity a lot and rather like it, but be sure you get the latest version; earlier releases had some obnoxious bugs in them. It's basically rsync on steroids with built in encryption of back-ups.
|
|
|
07-27-2013, 05:22 PM
|
#5
|
Member
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423
Original Poster
Rep:
|
Hmmm i see. My first thought was to setup a nfs share between the PCs and backup server and write a script to copy specified directories into these share OR to write a simple script that uses scp. I don't like that duplicity uses ncftp. I don't want ftp clients/servers in my PCs.
|
|
|
07-27-2013, 08:00 PM
|
#6
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992
|
no need for NFS unless you just want to share files across the LAN. a basic rsync script will do the trick just fine, then place it in cron to when as often/little as you desire.
i have several rsync scripts that backup both my local systems to my file server as well as backup my web server to my local workstation via WWW.
the best thing about rsync is you can encrypt or not your choice, or you could just create a tarball and encrypt the tarball to move across the LAN via rsync.
|
|
|
07-28-2013, 12:58 AM
|
#7
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,685
|
Quote:
here are 3 computers and all are running linux.
|
well what operating systems are they ?
for example OpenSUSE 12.2 and 3 have that built into the os already
it is just part of the os , there is no need to install anything
|
|
|
07-28-2013, 05:27 AM
|
#8
|
Member
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423
Original Poster
Rep:
|
Quote:
Originally Posted by John VV
well what operating systems are they ?
for example OpenSUSE 12.2 and 3 have that built into the os already
it is just part of the os , there is no need to install anything
|
They are running Arch linux
|
|
|
07-28-2013, 08:37 AM
|
#9
|
Member
Registered: May 2006
Location: the land of confusion
Distribution: slackware-current
Posts: 220
Rep:
|
If they're all running linux I'd set up a rsync cron on the backup server. If you want to keep more than 1 backup of each system you can set up 2 crons:
1) a basic perl script that rsyncs into a folder with a time/date stamp in the name
2) a perl script that removes any folders that are older than x days.
|
|
|
07-28-2013, 12:00 PM
|
#10
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992
|
Quote:
Originally Posted by mbvo
If they're all running linux I'd set up a rsync cron on the backup server. If you want to keep more than 1 backup of each system you can set up 2 crons:
1) a basic perl script that rsyncs into a folder with a time/date stamp in the name
2) a perl script that removes any folders that are older than x days.
|
dont even need something as complex as perl, just a basic BASH script will do the trick. set it up to save the data into day of the week folders and you will have 7 days of backups for all systems, but that does require considerable more storage space
thats what i do for my web server as well as selected data on my workstations.
|
|
|
All times are GMT -5. The time now is 05:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|