Solved

Back up dedicated linux server using putty

Posted on 2010-09-22
3
747 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to add replacement disk to HP RAID ? 16 111
HP server windows2012 6 63
centos linux 65 134
awk file 6 55
Hyper-convergence systems have taken the IT world by storm and have quickly started to change our point of view of how the data center should and could be architected. In this article, I’ll explain the benefits of employing a hyper-converged system …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

803 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