Solved

Back up dedicated linux server using putty

Posted on 2010-09-22
3
737 Views
Last Modified: 2012-05-10
Hi
Can anyone explain the procedure to backup my linux dedicated server using putty remotely from my pc?

mkdir /backups; chkconfig portmap on; service portmap start; echo "backup server ip address:/backups/my server ip address /backups nfs rw,hard,intr,noexec,rsize=8192,wsize=8192,nfsvers=3,noatime,_netdev 0 0" >> /etc/fstab; mount -a

I have used the above code to create the backup to a folder on a separate machine
but dont know how to do occasional backups.

any help would be appreciated

 Thanks
Bud
0
Comment
Question by:bud144
3 Comments
 
LVL 12

Accepted Solution

by:
mccracky earned 250 total points
ID: 33739479
Use this page for a short tutorial on using tar to back up your server:

http://ubuntuforums.org/showthread.php?t=35087

Then you should have the complete backup in one file you can download and save.
0
 
LVL 31

Assisted Solution

by:farzanj
farzanj earned 250 total points
ID: 33743275
You can use a number of utilities to backup your server.

PuTTY is just a console you are using to get to the remote server so don't get confused with it.

Once you log on using PuTTY,  you are in the remote machine.  Consider these questions.
1.  What do you want to backup --folders files
2.  Which utilities you want to use --  nfs, rsync, http, ssh, ftp, etc.
3.  Do you want to archive your files, etc using tar?

Appears you are trying to use nfs share on which you can write.  If the target machine's (where you would put your files for backup) folder is mounted with write option, you can simply copy you files to it with a cp command.  You may want to make an archive of all the files you want to backup as the expert above has suggested.  It is totally up to you.  If you want a complete machine backup, it is highly recommended.  In that case you have to exclude certain folders like /proc , /var/run, etc.  The above guide can help you with that.

Hope it helps
0
 

Author Closing Comment

by:bud144
ID: 33743319
Thanks
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration, of the HP EVA 4400 SAN Storage. The name , IP and the WWN ID’s used here are not the real ones. ABOUT THE STORAGE For most of you reading this, you …
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now