Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ##################################################
- #
- #
- # ARK: Survival Evolved Dedicated Server
- # Restore the world backup.
- #
- # Source: youtube.com/watch?v=jEeTBQne27Y
- #
- #
- ##################################################
- # Settings
- echo Enter the filename of the backup you wish to restore:
- read archive_name
- # Stop ARK Server.
- systemctl stop ark
- # Restore backup files using TAR.
- tar -xvf /home/capadillo/servers/backups/$archive_name.tar.gz -C /
- # Restore permissions to user.
- chown -R capadillo:capadillo /home/capadillo/servers/ark
- # Start ARK Server
- systemctl start ark
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement