[olug] Backing up a FTP server?

Curtis LaMasters curtislamasters at gmail.com
Wed Mar 18 05:07:42 UTC 2009


I use BackupPC for linux based backups and have never been happier.
It's mostly web based, has a ton of features and flexiblity and is
pretty easy to get up and running.  I'm sure you could keep with the
script based backups but they are a bit harder to manage in my
opinion.

Curtis LaMasters
http://www.curtis-lamasters.com
http://www.builtnetworks.com



On Wed, Mar 18, 2009 at 12:01 AM, Cheyenne Deal <deal.cheyenne at gmail.com> wrote:
> I have been backing up my game server through ftp, (the only way I can
> access it) and using a shell script to download it weekly. I have modified
> my script to download the whole server and now wget keeps erroring out. It
> keeps saying that the directory can not be found, even though that the
> script creates a folder with the day's date in the file name. Below is a
> modified version of the script, with passwords and accounts removed. I have
> been writing and rewriting these scrips and getting nowhere. Please can
> anyone help me.
>
>
> cd "/jmsg_bkp/JMSG-GM10-01/"
>> mkdir BKP-Full$(date +%Y%m%d)
>> wget --user=88888 --password=88888 -o
>> "/jmsg_bkp/JMSG-GM10-01/BKP-Full$(date +%Y%m%d)/scenes_log.txt" -r
>> ftp://72.233.56.5 /72.233.56.5_port_27016/garrysmod/scenes/*
>> wget --user=88888 --password=88888 -o
>> "/jmsg_bkp/JMSG-GM10-01/BKP-Full$(date +%Y%m%d)/scripts_log.txt" -r
>> ftp://72.233.56.5/72.233.56.5_port_27016/garrysmod/scripts/*
>> wget --user=88888 --password=88888 -o
>> "/jmsg_bkp/JMSG-GM10-01/BKP-Full$(date +%Y%m%d)/settings_log.txt" -r
>> ftp://72.233.56.5/72.233.56.5_port_27016/garrysmod/settings/*
>> wget --user=88888 --password=88888 -o
>> "/jmsg_bkp/JMSG-GM10-01/BKP-Full$(date +%Y%m%d)/shaders_log.txt" -r
>> ftp://72.233.56.5/72.233.56.5_port_27016/garrysmod/shaders/*
>> mv 72.233.56.5/72.233.56.5_port_27016/garrysmod/scenes"/jmsg_bkp/JMSG-GM10-01/BKP-Full$(date +%Y%m%d)"
>> mv 72.233.56.5/72.233.56.5_port_27016/garrysmod/scripts"/jmsg_bkp/JMSG-GM10-01/BKP-Full$(date +%Y%m%d)"
>> mv 72.233.56.5/72.233.56.5_port_27016/garrysmod/settings"/jmsg_bkp/JMSG-GM10-01/BKP-Full$(date +%Y%m%d)"
>> mv 72.233.56.5/72.233.56.5_port_27016/garrysmod/shaders"/jmsg_bkp/JMSG-GM10-01/BKP-Full$(date +%Y%m%d)"
>> touch "JMSG-GM10-01 Full Backup Part 6 Finished $(date +%T) $(date
>> +%Y-%m-%d)"
>>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
>



More information about the OLUG mailing list