scripts/backup
Matteo Cypriani d9da17a74c Rename a bunch of scripts
Reorganise and rename some files (add extensions, more relevant names,
etc.).
2013-04-10 16:32:45 -04:00
..
README Rename a bunch of scripts 2013-04-10 16:32:45 -04:00
backup_sites_mysql.sh Rename backup_sites_mysql -> backup 2011-08-16 11:30:03 +02:00
btrfs_snapshot_date.sh [backup] Add btrfs_snapshot_date.sh 2011-08-17 00:05:27 +02:00
obstinate-rsync.sh Rename a bunch of scripts 2013-04-10 16:32:45 -04:00

README

# obstinate-rsync.sh #

obstinate-rsync.sh is a simple script that transfers a single directory
(your home directory, by default) to a remote host, using rsync. You can
specify exclude patterns in a file (~/.backup-excludes by default). The
transfer will be reattempted until it succeed.

Edit the script to configure the protocol, host, directories, etc.


# btrfs_snapshot_date.sh #

This script is a wrapper to btrfs subvolume snapshot, that creates a
snapshot of a subvolume, the snapshot's name being the subvolume name
with the current date and time appended to it.

It is supposed that the subvolume to snapshot resides in a directory
which needs to be mounted before to make the snapshot (for example if
you defined your default subvolume to your system's root, and mount the
volume 0 on /media/pool).

Edit the script to configure the directories (and to understand what is
being done).


# backup_sites_mysql.sh #

The script backup_sites_mysql.sh is designed to save websites data files
and the associated MySQL databases.

You need to edit the script to configure the databases you want to backup
and the directory containing all your websites.