473,385 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

backup files from fedora to red hat

bhing
43
hiya everyone!!!
i would like to know if theres a third party software or some configuration in order to backup some files from fedora 5 to red hat 9.. they are in separate computer. And i would like to put some sheduled tasks for red hat 9 to automatically backup files from fedora 5 to itself...
Feb 20 '07 #1
9 3043
hiya everyone!!!
i would like to know if theres a third party software or some configuration in order to backup some files from fedora 5 to red hat 9.. they are in separate computer. And i would like to put some sheduled tasks for red hat 9 to automatically backup files from fedora 5 to itself...
Use crontab on the RH9 m/c to run a little script that pulls the data from the FC5 machine, according to your schedule.

You could use one of several methods to make the data available, and it depends to an extent on what sort of network link you have between the machines.

1) NFS - the simplest but least secure option if the machines are on the same lan, or a fast enough wan.

2) FTP - easiest across the internet (least config) but not very secure.

3) SSH - most secure, but slower, and a bit more involved to set up.

4) RSync - secure and fast, but more time-consuming to set up.

The way you make the files available will determine the backup methods available to you.

For example, with NFS, you can just use "tar", possibly with compression to save space, wheras with FTP, you would need to pull the files to the RH9 machine before tarring them up.

What is the nature of your data - does it need security, is it huge, is it constantly varying, is it in just a few big files, or millions of little ones, etc?

What is your network link?

If you can answer these questions, I can suggest an approach.

hth,
-cybervegan
Feb 20 '07 #2
bhing
43
The data im going to backup from fedora have approximately 2gig size and 1gig if im going to zip it.. I would like the zip data to be forwarded to RH9. And i would prefer use SSH. What should i configure and how to setup? tnx
P.S.
the two are connected thru lan
Feb 21 '07 #3
The data im going to backup from fedora have approximately 2gig size and 1gig if im going to zip it.. I would like the zip data to be forwarded to RH9. And i would prefer use SSH. What should i configure and how to setup? tnx
P.S.
the two are connected thru lan
Info on how to set up OpenSSH on RedHat can be found here: http://kbase.redhat.com/faq/FAQ_44_967.shtm

You need to set up a daemon (sshd) on the server, and ssh on the client. The first time you log into the server from the client, they will exchange keys. You can then use "scp" to transfer data from one to another, via a shell-script.

If the data doesn't change much, it's worth using "rsync" as this only sends the changed parts of the data over the wire, but if it's mostly or entirely different, just scp it. Put the command into a bash script file.

Then set up a crontab entry that calls the script file (google HOWTO crontab).

hth,
-cybervegan
Feb 21 '07 #4
bhing
43
tnx much cybervegan.. i would like to ask about rsync on how to setup it? i would prefer to use rsync since there are only a minimal changes hapenning.. For now, i used to backup files every weekend... looking forward to hearing you... Godspeed!!
Feb 22 '07 #5
Motoma
3,237 Expert 2GB
tnx much cybervegan.. i would like to ask about rsync on how to setup it? i would prefer to use rsync since there are only a minimal changes hapenning.. For now, i used to backup files every weekend... looking forward to hearing you... Godspeed!!
It is my belief that this goes beyond the scope of this forum. You might try using your friend Google for insight and tutorials on rsync's usage.
Feb 22 '07 #6
It is my belief that this goes beyond the scope of this forum. You might try using your friend Google for insight and tutorials on rsync's usage.
A quick google for "rsync howto" brought up, amongst many others:

http://transamrit.net/docs/rsync/

hth,
-cybervegan
Feb 22 '07 #7
bhing
43
gud day.. i wud like to know f possible to backup from fedora 5 to red hat 9 using only the crontab scheduler? tnx.. im confused about the rsync and crontab... tnx
Mar 1 '07 #8
Motoma
3,237 Expert 2GB
gud day.. i wud like to know f possible to backup from fedora 5 to red hat 9 using only the crontab scheduler? tnx.. im confused about the rsync and crontab... tnx
Google should give you good results for tutorials. If you have a specific question about using rsync and crontab, post it in a new thread for more responses.
Mar 1 '07 #9
wish
65
I would like to ask some question.

If my pc and the server-linux(fedore 6), how to communicate to each other? Have i need to install the ssh in my pc?If yes, then how i can get the ssh source?

Can anyone advise me..cos i also doing backup file in server first time? I hope i can copy one master copy in my pc first.

Thanks.
Sep 24 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Tim Gahnstrom | last post by:
rdiff-backup is aperently written in Python and when I run it in a special way I get some funy Python errors. Does anyone know if linux python have some issues with working with fat32 or usb...
1
by: L. Bertolini | last post by:
We're considering purchasing an application, which stores some data in the filesystem, and some data (meta data and links to files) in MS-SQL. We need to be able to create a backup wherein the...
4
by: deprins | last post by:
Hello, I have run into some problems with logfiles and backup logfiles (MS SQL server). I have read much about them but uptil now I dont seem to grasp how it works. Specially the part of working...
1
by: gcetti | last post by:
Can anyone recommend backup procedures for a SQL Server/MSDE product? We have upgraded our program from Access to SQL & before we could just tell our customers what .mdb files to include on their...
7
by: Toralf Kirsten | last post by:
Hi, we are using DB2 on Fedora We try to backup the datbases automatically every day (night). For this purpose, I wrote two scripts, a shell (bash) and a sql script. The shell script set the...
6
by: Steven | last post by:
I have a problem with moving the backup of my database from machine to machine. The size is 17 Gig and my network keeps timing out when I try to ftp it from machine to machine. I have had the...
10
by: Konstantin Andreev | last post by:
Hello. Some time ago I asked in this conference, - How to use an ONLINE BACKUP to restore database onto another system? - but got no answers. Therefore I can conclude it is not possible. But......
2
by: clilush | last post by:
I've been working with db2 8.2fp14 for over a year now and was wondering what is a "standard" way of doing a backup to provide 24/7 operations with disaster recovery capabilities? My thoughts were...
0
Niheel
by: Niheel | last post by:
The importance of backups can never be emphasized enough. In Vista Ultimate and Windows Server 2008, there is a built in feature to take care of backups called Windows Complete PC Backup and...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.