Help - Search - Members - Calendar
Full Version: Unbelievably and real dumb newbie questions on NAS backup.
The Planet Forums > Control Panels > cPanel/WHM
SuperBaby
I ordered NAS backup. I didn't know that it is so "deep". I thought everything is automated under Orbit icon_lol.gif . I will only go to step 1. I do not want to frighten you away with my silly questions.

I am stuck at the very first step:

QUOTE
Please ensure that your firewall is open to allow FTP and FTP-DATA to 64.5.54.166. Also open the firewall for TCP/UDP ports 137, 138, 139, and 445 to 64.5.54.166.


I only have APF installed.

1) Which file do I edit, allow_hosts.rules or conf.apf?

2) Which lines and how should I edit icon_lol.gif ?
eddy2099
If you are using Cpanel/WHM, you can always just set the WHM Backup which would use FTP to access the NAS. That way you have a working backup solution and you do not need to worry about any ports to open for it. I would assume the basic FTP ports would be open by default and that would suffice.
SuperBaby
I have a secondary drive for backup. I look into WHM's backup configuration but totally have no idea how to configure it.

What is the smbackup01.servermatrix.com, the username and the password for?
SuperBaby
You can see my current WHM backup config screenshot here:

http://www.geocities.com/myscreenshot2006/backup.gif

I believe I have to enter the host, username and password to these fields:

- Ftp Backup Host (Remote Ftp Backup Only)
- Ftp Backup User (Remote Ftp Backup Only)
- Ftp Backup Pass (Remote Ftp Backup Only)

What else should I set?

Once backup is done, how do I access those backups?
eddy2099
You need to set Backup Type as Remote FTP Server and also the FTP Backup Directory to where you want the files to be saved in.

If you have a secondary drive then probably the best method would be to use the WHM Backup to do daily backup to your secondary drive then set up a Script to RSYNC what you want over to the NAS.

Think of the NAS as a remote disk space which you can do anything that you want. When you need to restore, you will need to copy the files to your local drive and use the WHM restore mechanism.

For a more complete solution, DiskSync is way better as everything can be automated through the DiskSync client.
SuperBaby
Is DiskSync easier to use? Does it come with a web-based admin interface?
eddy2099
DiskSync doesn't come with a web-based interface but it requires you to install the client on your desktop which you use to determine what and how often the files should be backup. You can then use that to determine which files should be restored. You can restore single files instead of entire folders.

Yes, it is supposed to be quite simple to use. Incidentally, the disk space shown for the DiskSync is compressed space so on a typically server, the 10gb compressed Disksync could probably store anything between 15 to 25gb. Also it saves you on bandwidth usage as it only make incremental backups so basically only changes get backup.

You use NAS if you want your own backup solution.
TheUniverses
QUOTE (SuperBaby)
QUOTE
Please ensure that your firewall is open to allow FTP and FTP-DATA to 64.5.54.166. Also open the firewall for TCP/UDP ports 137, 138, 139, and 445 to 64.5.54.166.


I only have APF installed.

1) Which file do I edit, allow_hosts.rules or conf.apf?

2) Which lines and how should I edit icon_lol.gif ?


Edit the allow_hosts.rules and add that IP, so it has all access. Just add it as the IP, no other switches, commas, blahs needed.
Then restart apf
SuperBaby
QUOTE
Edit the allow_hosts.rules and add that IP, so it has all access. Just add it as the IP, no other switches, commas, blahs needed.
Then restart apf


I have done that. How do I ftp under shell? I tried this but got a timeout error:

$ ftp smbackup01.servermatrix.com
SuperBaby
OK, got it. The host was wrong. The welcome is terribly misleading!!!

I managed to FTP to the NAS backup and transfer files (from my 2nd hardrive to NAS storage) one by one using PUT. Is there any command that I can use to copy all *.tar.gz file?

Also, do you know any script for automatic backup to NAS?
SuperBaby
I finally managed to automate the WHM backup to BOTH my secondary hardisk and NAS, thanks to the mini script "WHG FTP Backup" by Webhostgear at http://www.webhostgear.com/174.html

This is what I am doing:

1) Configure WHM to do daily/weekly/montly backup to my secondary hardrive as before.

2) Set crontab to run ftpbackup_daily.sh to copy all files from /backupdrive/cpbackup/daily to /mybackup/daily (NAS)

3) Set crontab to run ftpbackup_weekly.sh to copy all files from /backupdrive/cpbackup/weekly to /mybackup/weekly (NAS)

Perfect solution!
ramprage
Glad the script is being put to good use icon_smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.