Welcome To Snipplr


Everyone's Recent Snippets Tagged backup



« Prev 1 2
Simple backup script using Rsync
0 698 posted 8 years ago by brm
Script using tar to backup new file created 1 day before
1 803 posted 8 years ago by brm
There is a user-callback example in http://bazaar.launchpad.net/~bit-team/backintime/user-callback/view/head:/user-callback.apt-backup which will backup all package selections, sources and repository keys which are necessary to reinstall exactly the...
0 824 posted 9 years ago by garretjames
The following script is used to perform batch backup of MSSQL server databases. It also compresses the backups using RAR that should already be installed on the computer. It is easy to use it in Windows Scheduler, in order to arrange daily backups of...
0 806 posted 10 years ago by dimitrisdapontes
You can use Curl to create a backup of your site easily. It is very effective method for those who complain that they lost site content.
0 630 posted 10 years ago by codehero11
Backs up all database transaction logs within a Microsoft SQL Server instance except for databases set to simple recovery mode.
1 576 posted 11 years ago by jprochazka
Backs up all databases contained in a Microsoft SQL Server instance.
1 579 posted 11 years ago by jprochazka
Backup/Export MySQL Database using mysqldump and compress/gzip it ------------------------------------------
0 743 posted 11 years ago by MohamedAlaa
This script will do a daily backup of directories. If the files has not changed then it creates a hard-link to the file. If the file has changed then it will copy the new file. The backup is not much larger than the directories being backed up.
1 776 posted 11 years ago by _reydin_
i've got this running on an hourly cron. works beautifully.
0 537 posted 11 years ago by adkatrit
Kudos to http://snipplr.com/view/26670/
0 600 posted 12 years ago by klovera
0 667 posted 12 years ago by wraydc
0 596 posted 12 years ago by saibal
Creates a daily backup and deletes any backup older than 60 days. Replace: *DB_USER *DB_PASSWORD *DB_NAME */path/to/backup with your actual database name, credentials and path to where you want your backup to live. Last note: you don't nec...
1 712 posted 12 years ago by nikefido
0 541 posted 12 years ago by tribal
This is a php script to trigger a cpanel full backup to the servers home directory OR a remote ftp server
0 645 posted 13 years ago by leoj3n
0 451 posted 13 years ago by sp4ke
0 553 posted 13 years ago by theriddlebrothers
You can use this code under MIT licence.
0 828 posted 13 years ago by digitalzoomstudio
The script below connects to a MySQL database server on "localhost" using the login name "test" and password "123456" and then connects to the database "test". It then copies the table structure and data from the table "products" to a new table "prod...
4 981 posted 13 years ago by fackz
This script let you back up your servers at once from a central backup server. First you must copy the central server ssh public key into the servers to backup (without password). After that you can install this script with a cron.
0 515 posted 13 years ago by eusonlito
Script to backup all MySQL databases and delete copies after X days
1 533 posted 13 years ago by eusonlito
This command line aims at moving directories from a target location to the present working directory (pwd), backing the pwd directories up as it encounters them. The script works by: 1. Iterating through the contents of the target directory (us...
0 716 posted 13 years ago by karlhorky
1 626 posted 13 years ago by jepedo
This script pulls in files with [rsync](http://samba.anu.edu.au/rsync/), storing them locally with hardlinks for unchanged, and real files for changed -files. * KEY=$HOME/.ssh/id_dsa_passwdless -- an id_rtsa key without a password. --adding this t...
0 580 posted 14 years ago by berkes
Change 'username' (twice!) with your imap username,'password'with your imap password, and 'example.com' (twice!) with the url of your imap mailserver. Works on: Ubuntu with Evolution, sqlite3 and archivemail installed. Evolution is required beca...
1 795 posted 14 years ago by berkes
Creates backups of "file.ext" in the form "file.Bx.ext", where Bx represents a sequential backup number from 1 (most recent) to 5 (oldest) Put the following symbolic links in your path ln -s path-to-this-file/age.py age ln -s path-to-...
0 562 posted 14 years ago by SimonTite
1 633 posted 14 years ago by troynt
« Prev 1 2