Archive

Posts Tagged ‘backup script’

Backup Script

January 7th, 2010 Comments off

I use xxxcopy to backup files from my home computer to an extrenal drive. Pretty simple. BUT … I’ve always thought it would be neat to have a similar script that would back up same files to my server. I have a dedicated server with hostdime.com so I have root access. Here’s what I need. And feel free to use your imagination if your skills can give me a better solution than my needs.

1. a simple script that will allow me to backup certain files on my computer to my dedicated remote server.
2. i should be able to edit the script easily to change which folders or files I want to backup and I should be able to edit the location they’re saved to.
3. the verification should be flawless. a layperson should be able to tell at a glance that the correct folders and files were backed up on the remove server by using a simple file compare in cuteftp pro or similar.
4. there should be some sort of built in verification so that i know every single file is being copied correctly, and has not been corrupted. There should be ZERO chance of this not working correctly.
5. As a bonus, it would be nice to have it setup in dropbox style where it backs things up as they are being worked on, or whenever there’s a change … not 100% necessary though, I dont mind manually backing up each day.

Auto Backup Script For Cpanel

September 24th, 2009 Comments off

I have a dedicated linux server hosted by Hostgator (HG) that has dual 250G hard drives. I want the 2nd drive to auto copy the full contents of my hosted websites on the main drive (each night at 4AM EST), and that it save at least 5 successive days before overwriting the oldest save, which will provide me with rollback capbilities. After asking HG to do this for me, they said:
“We have configured CPanel’s own backups which backup all the accounts and other necessary files on the server. The set up you are describing would be a custom backup script that would need to be written as Cpanel does not have such functionality. It appears that your backups were configured, but not actually enabled on the server. I’ve left the configurations how they were and enabled the backups.”

That said, I need that script to be written, and I’m hoping this can be done without needing access to my cpanel, as I’d prefer have my team install that script (security reasons). But if that is not possible, I’ll have to trust you, but I’ll also require a perfect SL rating from the winning bidder.

Cheers…

Backup Script For Linux Server

September 3rd, 2009 Comments off

Hello!

I need a script which does the following simple things.

Making a complete backup of my debian linux server each day automatically or by request.

I think that the backup data can be stored with Rsync also on a backup server (I have also virtual server).

If there are any problems with the server I must have the possibility to restore it completely with SSH login even if the server is reinstalled.

I have seen that there are existing solutions, so I think the work is not very many.

Best regards and thanks

Mysql Backup Script

August 31st, 2009 Comments off

I need a backup script which is able to backup large mysql databases (200MB and more). The script should be only one file and should be run via cronjob. Server/db access can not be provided.

Backup Script For Vbulletin

July 21st, 2009 Comments off

This project is for Dario to install a script on the server that backsup Vbulletin daily in case of a database problem where vbulletin might need top be restored. The script also backs up the FAQ database weekly

Backup Script Or Program Osx

June 16th, 2009 Comments off

I need some software to keep my computer backed up. I have found no software that is able to do what I would like.

This might mean writing a script for an existing software like SuperDuper or writing an applescript (Yes, its for OS X) or something like that. Its up to you.

Here is what I need

1. It needs to be able to be set on a schedule. (there might be OS level support for scheduling… not sure.)

2. It needs to keep my regular HD & Media HD in sync with my backup drive.

3. Now, there are certain sections on my drive which I have designated as “backup areas” these areas are not simply synced, but need to be watched every time there is a backup for 2 things. a) if a file does not exist on one of the 2 drives, it needs to be copied to the other. b) if there is a a file in both places, and they are different, a flag needs to come up asking for my attention. (or some way for me to attend to the file) In this case the file will have had some data corruption & I need to determine what file is uncorrupted and replace it with the un-corrupted file.

4.I would like some sort of way to modify the program myself. I have a programming background & could modify something quite easily if it were not compiled or what not. It does not need to be super user friendly is all i am saying.

In summary, there are 3 drives, 2 of which need to be synced to the one. There are 2 types of sync’s that need to be applied to different directories (or drives) One like a regular sync. (Make an exact copy)
The other is to bring to the missing drive a file that does not exist on the other & then compare matching files to ensure they are identical. If not a flag of some kind need to be raised. & someone with basic programming skills needs to be able to modify the program.

Examples of why I would want to modify it is for example, I get another drive & want to incorporate that into my backup system. Or Mac decides to change the directory name of something or such.

An extra step, which I think might have to be quoted separately, is for a MD5 do be made of each file in the “compare” mode and when a file becomes corrupt, the un-corrupted file replace it automatically. Not sure if the price for this will justify how much labor it will save me.

Budget is a concern here, so function over fancy here is a plus.

Postgres Backup Script

June 11th, 2009 Comments off

I need a shell script that will run on Ubuntu 9.04. Prefer straight bash, but ok to use something like python or ruby as well.

The script needs to accomplish these things:

* Make a backup of an existing database in postgres 8.3.7
* Bzip2 the backup (and tar if backup is directory).
* append a datetime stamp to the file. (final file name “db_name.date_time.tar.bz2). Date stamp should be in format YYYY-MM-DD-hh-mm-ss)
* SCP the backup to an offsite server

The inputs to the script should be:
1) database name
2) database username
3) database password
4) remote machine username / domain (scp works over ssh, and ssh keys will be set up for passwordless auth, so no password needed for remote machine)

The script will never do anything destructive. No original files are ever changed. All temp files are cleaned up except the backup (tar.bz2) which remains on the localhost (as well as scp-ed to the remote machine).

The script should be cron-able

I will pay 50% more if you can provide the same script for both PostGres & MySQL (Postgres being more important in my case)

Php Backup Script

May 5th, 2009 Comments off

see the attached file

you will be required to sign my nda agreement

Daily Backup Script

March 17th, 2009 No comments

Hey, hope someone’s got something sitting around they can rehash here. Need a php daily backup script that I can cron.

(1) backup (tar,gz) all files in a given dir.
– We’re working with gigabytes of data, so whatever way you think it should be handled, update existing file or create new is up to you. Most of our files do not change from day to do, however new files are usually added.

(2) mysqldump entire mysql database (tar,gz)

Existing files should be over-written (daily) in order to conserve hard drive space.

Bear