Incremental backup to FTP

rutekp

Verified User
Joined
May 29, 2007
Messages
20
Hello,

I found unofficial incremental solution for backup but it work's only over rsync. Is there any solution to create incremental backup but to FTP freenas ?

Thanks
 
Have you tried this before?
Is it any good?
Can it do a bare metal restore?

Sorry for all these questions as I can't imagine installing and configuring all the apps again if there's a need to reinstall the entire harddisk.
 
Here's a method we're investigating; note that we haven't tried it yet.

We use CentOS; this can probably be done with other OS Distributions but we don't know any of the details with them.

This method requires that your server have a USB port and that you have a flash-drive formatted as ext3 (5GB is what we're experimenting with; significantly less is probably fine).

1) Create a new CentOS installation on a new server, creating a kickstart file to save your drive partition information. We use a minimal CentOS install and then install other packages with yum; you should install what you're comfortable with.

2) Save the kickstart file somewhere safe (on a different flashdrive?).

3) Create a complete DirectAdmin installation on the new server, add all you usually add, make all changes you usually make.

4) mount the flashdrive you're going to use to create the drive image.

5) Using the mv command:
Code:
# cd /
# mv * /path/to/flashdrive/
6) now you can remove/throw-away/decommission/whatever that new server.

Then of course make regular backups of your working DA server: use either the reseller backups, the admin reseller backup, or the sysbk backup; whichever you're most familiar with.

Then, when you need to do a baremetal restore:
1) Create CentOS on the server being restored, using the kickstart file you created earlier. Plug in (and mount as required) the flashdrive containing your drive image.
2) Using the mv command:
Code:
# cd /path/to/flashdrive/
# mv * /
3) restore your most recent backup. If you've used reseller backups, you may need to recreate the resellers manually first, and then restore the resellers first, before restoring their users.

Note that this is a work in progress, and some of these points are oversimplified.

If you've got a better idea, please tell us :) .

Jeff
 
Hello,

I found unofficial incremental solution for backup but it work's only over rsync. Is there any solution to create incremental backup but to FTP freenas ?

Thanks

I know this isn't a direct solution to your inquiry, but just to inform you rsync works over SSH as well, you don't need an rsync daemon running.
 
Back
Top