- Repository home: https://git.erdelynet.com/mike/timemachine
- Github Mirror: https://github.com/merdely/timemachine
Issues and other interactions should take place in the Github Mirror
timemachine backup uses rsync to create backups. It uses rsync's
--link-dest feature to create hard links to the last backup's files if
they have not changed
Create /etc/timemachine/config Use config.example as a guide to create a configuration that suits your needs
Copy rsync_ssh_client to a directory on the client
Create /etc/timemachine/backup_list, which is a list of mount points/directories to back up
Note that timemachine backup does not cross filesystem boundaries. So if /path/to/filesystem1 and /path/to/filesystem1/filesystem2 are different file systems, they both must be in backup_list to be backed up
Create /etc/timemachine/exclude_list, which is a list of files and directories to exclude from the backup
Create an SSH key for the backup and define it in the configuration file On each client, create an authorized_keys entry for the root user (or a user that has access to the files to be backed up) that looks like this:
restrict,command="/opt/timemachine/rsync_ssh_client" ssh-ed25519 KEY backupserver