Welcome To Snipplr


Everyone's Recent Snippets Tagged backup



« Prev 1 2
  1. FAV

    Backup script using rsync

    Simple backup script using Rsync
    Bash 8 views posted 4 years ago by brm
  2. FAV

    Tar backup file 1 day before

    Script using tar to backup new file created 1 day before
    Bash saved by 1 person 2 views posted 4 years ago by brm
  3. FAV

    Callback Script for Back In Time

    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...
    Bash 6 views posted 5 years ago by garretjames
  4. FAV

    Backup Multiple MSSQL Databases Batch File

    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...
    Windows PowerShell 7 views posted 6 years ago by dimitrisdapontes
  5. FAV

    Create the backup of your site using curl

    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.
    PHP 12 views posted 6 years ago by codehero11
  6. FAV

    Microsoft SQL Server: Back up all transaction logs.

    Backs up all database transaction logs within a Microsoft SQL Server instance except for databases set to simple recovery mode.
    SQL saved by 1 person 2 views posted 7 years ago by jprochazka
  7. FAV

    Microsoft SQL Server: Back up all databases.

    Backs up all databases contained in a Microsoft SQL Server instance.
    SQL saved by 1 person 4 views posted 7 years ago by jprochazka
  8. FAV

    Backup Export MySQL Database using mysqldump and compress gzip it

    Backup/Export MySQL Database using mysqldump and compress/gzip it ------------------------------------------
    SQL 12 views posted 7 years ago by MohamedAlaa
  9. FAV

    Linux backup script using rsync and hard-links

    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.
    Bash saved by 2 people 7 views posted 7 years ago by _reydin_
  10. FAV

    backup into folder daily

    i've got this running on an hourly cron. works beautifully.
    Bash 4 views posted 7 years ago by adkatrit
  11. FAV

    Recursively copy a directory for backup

    Kudos to http://snipplr.com/view/26670/
    Bash 3 views posted 8 years ago by klovera
  12. FAV

    Restore MSSQL database from backup (.bak)

    SQL 1 views posted 8 years ago by plugables
  13. FAV

    Evernote Notebooks Backup

    AppleScript 6 views posted 8 years ago by wraydc
  14. FAV

    Script to Backup MySQL databases

    Bash 2 views posted 8 years ago by saibal
  15. FAV

    bash shell file for daily database backup - Run as CRON job

    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...
    Bash saved by 2 people 5 views posted 8 years ago by nikefido
  16. FAV

    Backup Directory and Content

    Bash 4 views posted 8 years ago by tribal
  17. FAV

    Automatic cPanel backup using cron

    This is a php script to trigger a cpanel full backup to the servers home directory OR a remote ftp server
    PHP 0 views posted 8 years ago by leoj3n
  18. FAV

    backup with tar

    Other 0 views posted 8 years ago by sp4ke
  19. FAV

    Bash Backup Script

    Bash 10 views posted 9 years ago by theriddlebrothers
  20. FAV

    PHP XML HTML Backup for Flash

    You can use this code under MIT licence.
    PHP 4 views posted 9 years ago by digitalzoomstudio
  21. FAV

    PHP script to make a backup copy of a MySQL table

    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...
    PHP saved by 20 people 13 views posted 9 years ago by fackz
  22. FAV

    Backup servers from a central backup server

    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.
    Bash 1 views posted 9 years ago by eusonlito
  23. FAV

    Backup all MySQL databases

    Script to backup all MySQL databases and delete copies after X days
    Bash saved by 2 people 3 views posted 9 years ago by eusonlito
  24. FAV

    Bash (Command Line): Loop through directories in specified location, replacing directories in current directory (with backup)

    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...
    Bash 3 views posted 9 years ago by karlhorky
  25. FAV

    Drush DB backup

    Perl saved by 2 people 4 views posted 9 years ago by jepedo
  26. FAV

    Archive to a remote server using tar and ssh

    Other 0 views posted 10 years ago by michaellehmkuhl
  27. FAV

    Simple rsync backupscript.

    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...
    Bash 2 views posted 10 years ago by berkes
  28. FAV

    Run Archivemail on all your IMAP folders.

    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...
    Bash saved by 3 people 2 views posted 10 years ago by berkes
  29. FAV

    Generational backups of single file or directory, preserving extension

    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-...
    Python 1 views posted 10 years ago by SimonTite
  30. FAV

    MySQL Backup Script

    Bash saved by 3 people 3 views posted 10 years ago by troynt
« Prev 1 2