"This CLI tool automates server data backup and restoration using Duplicacy CLI to Google Drive. It's designed for efficient and straightforward data management, ensuring safe and accessible backups."
GDriveServerSync is a script designed for automating data backups and restores using Duplicacy CLI, to Google Drive. It simplifies the process of setting up Duplicacy for use with Google Drive and offers various functionalities for data backup and restoration. It currently has limited commands, but it will likely be expanding.
- Automates installation: Automatically installs the necessary tools and prepares the environment for Duplicacy.
- Google Drive Authentication: Helps with the authentication process with Google Drive to facilitate backups.
- Backup/Restore: Performs backup/restore of a specified directory.
Before using GDriveServerSync, ensure that you have the following:
- Linux
- Sudo privileges for certain operations.
- A Google Drive account for storing backups.
To use the script, follow these steps:
-
Clone the Repository: Clone or download the script to your local system.
-
Set Execute Permissions: Ensure that the script has execute permissions using the following command:
chmod +x GDriveServerSync.sh
-
Set variables: There are now 2 ways you can do this
-AUTOMATED: Move GDriveServerSync to the folder you want to backup and move on to step 4.
-MANUAL: There are 2 variables that should be set in the text of the script. Open it with a text editor and update them and move on to step 4.
-
Run script: Run the from terminal with ./GDriveServerSync and follow the prompts.