This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # This script manages TurnKey Linux Backup and Migration (TKLBAM) operations for LXC containers. | |
| # It supports backup, restore, and cleanup operations using a specified profile and LXC container ID. | |
| # Backups are stored in /root/turnkey_backup/<lxc_id>. | |
| # | |
| # You will need to generate a tklbam profile first. | |
| # The easy way to do this is to download or clone https://github.com/turnkeylinux/tklbam-profiles | |
| # then run: | |
| # cat tklbam-profiles/core tklbam-profiles/<appliance name> > <profile config file> |