Backing up a server to my pc

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

I don’t understand this :frowning:

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


Reading the manual is always good advice :wink:

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.

you can copy the files through putty described here

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 cygwin

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

I will have a look at all those ideas.

Thanks :slight_smile:

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 ?

Just another quick question:

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

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.

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 ?

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 :slight_smile:

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.

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.

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

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.

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 :wink:

actually if I understand it correctly, I do have a battery on the motherboard of the server.

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. :wink:

Most folks do not need it.

ah lol well that’s a big difference then :slight_smile:
i got confused with

There’s of course no battery on your server

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.


do I first open a connection with putty on ?

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