Solved

Back up dedicated linux server using putty

Posted on 2010-09-22
3
751 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

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

Suggested Solutions

The 6120xp switches seem to have a bug when you create a fiber port channel when you have a UCS fabric interconnects talking to them.  If you follow the Cisco guide for the UCS, the FC Port channel will never come up and it will say that there are n…
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

751 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