Backing up a server to my pc

13 posts / 0 new
Last post
#1 Mon, 12/15/2008 - 05:35
Anonymous

Backing up a server to my pc

Hi, It was suggested by someone that I read the manual. So I am :) Now when I get to the back up section it says:

[img size=395]http://www.virtualmin.com/components/com_fireboard/uploaded/images/Serve...

I don't understand this :(

What would I need to do to backup one virtual server to my pc using the VirtualMin Backup system ?

Mon, 12/15/2008 - 05:41
andreychek

Howdy,

Reading the manual is always good advice ;-)

If you wish to perform backups to another machine, that machine needs to be running either the SSH or FTP service on it (or, in the case of Amazon's S3 service, you'd have to have an S3 account).

At that point, the Virtualmin backup process can push the backups out to it.

Barring that, Virtualmin can create the backups in a directory on the Virtualmin server, and you could write a script for your PC to pull all the files in that directory down to your PC.
-Eric

Sun, 06/07/2009 - 07:33 (Reply to #2)
Davvit

OK
I don't know anything about running SSH on my pc.

Other than I have just got putty, which should do the job.

I have created a diretory on my d drive.

d:disk\server_backup

do I first open a connection with putty on 65.23.129.163:10000 ?

then how do I send the back up files to d:disk\server_backup ?

thanks

Mon, 12/15/2008 - 12:03 (Reply to #3)
ronald
ronald's picture

you can copy the files through putty described <a href='http://www.go2linux.org/scp-linux-command-line-copy-files-over-ssh' target='_blank'>here</a>

you can also install filezilla server and run it when ever you want the files to copy over through sftp

you may be interested in <a href='http://cygwin.com/' target='_blank'>cygwin</a>

alternatively, what you can do is get an (very) old PC, put centos on it with virtualmin gpl with a big harddisk and leave that on somewhere in the house. Then when the files get to big you can ssh overnight and automatically. (I do this)

another option is to backup locally on the server and use ftp to get it on to your pc

Tue, 12/16/2008 - 02:24 (Reply to #4)
Davvit

Ok - just checked through the bootup-shutdown list and yes sshd is installed.

I noticed that apmd is used for monitoring battery status and logging it via syslog(8). It can also be used for shutting down the machine when the battery is low.

So what battery is that ?

Tue, 12/16/2008 - 04:17 (Reply to #5)
andreychek

Well, therein lies one of the first things I might suggest doing when you setup a new server -- verify that you need everything that's running :-)

There's of course no battery on your server, so you wouldn't need that (I don't even have that package installed on my servers).

You can safely disable that. You'd find it most useful for a laptop/notebook computer.
-Eric

Tue, 12/16/2008 - 05:31 (Reply to #6)
Davvit

Errm ... my server was set up by the guys that own the hardware, Rackmounted.

I would have thought they would know if it had a battery or not ?

Maybe I should ask them what type of battery my server has ;)

Tue, 12/16/2008 - 05:29 (Reply to #7)
ronald
ronald's picture

actually if I understand it correctly, I do have a battery on the motherboard of the server.
I replaced that one with a new one before I brought the machine to the datacenter.
I doubt one would need to monitor this though.

<div class='quote'>If I put centos on it with virtualmin gpl does that mean that I can not run windows ?</div>

you can also run centos desktop version as you'd only need sshd running. through the desktop you can have the thunderbird email client running to check/send emails.
that would be my choice instead of running a dualboot (winxp+centos or winxp+ubuntu) as you can only run 1 OS at the time.

Tue, 12/16/2008 - 12:14 (Reply to #8)
Joe
Joe's picture

<div class='quote'>actually if I understand it correctly, I do have a battery on the motherboard of the server.</div>

All PCs have a battery to backup their clock when the power is off. This is not what apmd is for. It is for use with UPS. ;-)

Most folks do not need it.

--

Check out the forum guidelines!

Tue, 12/16/2008 - 12:51 (Reply to #9)
ronald
ronald's picture

ah lol well that's a big difference then :)
i got confused with <div class='quote'>There's of course no battery on your server</div>

Mon, 12/15/2008 - 22:48
Davvit

I will have a look at all those ideas.

Thanks :)

I need to get another pc for my wife ( so she doesn't need to use mine for email) So I'll probably use hers to put a server on.

If I put centos on it with virtualmin gpl does that mean that I can not run windows ?

Or do I partition the drive and put windows in a different partition ?

Mon, 12/15/2008 - 23:09 (Reply to #11)
Davvit

Just another quick question:

Do I have &quot;open-ssh&quot; installed on my server (as reffered to in the scp usage ext) ?
Is that what the SSH Server is ?
Thanks

Tue, 12/16/2008 - 01:06 (Reply to #12)
Joe
Joe's picture

Pretty much any Linux or UNIX system has an ssh server. OpenSSH is the name of the project that provides both the most popular ssh client and server implementations. Most Linux systems have sshd installed and running, by default. If you aren't sure if it's running, you can use the Webmin System:Bootup and Shutdown module to see if the sshd or ssh service is set to start on booth.

--

Check out the forum guidelines!

Topic locked