This repository has been archived by the owner on Jan 14, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
First start
Artem edited this page Feb 15, 2020
·
6 revisions
If you want to build Chest tool on your own - please, check this instruction.
For start using Chest tool, follow the steps below:
- Download the latest stable executable file (chest_v0.0.1, for example) from Releases page.
- (Optional) Create a folder, where the program and it's file will be stored. Move the downloaded file from step 1 to this folder. This folder can help you keep your root folder clean 😄
- Go to Google Drive API page and click on the blue button "Enable the Drive API". After processing your data (or what Google makes, idk), you will the small window, where you should see the blue button "DOWNLOAD CLIENT CONFIGURATION". Click on this button and download credentials.json.
- Place this file in the same directory with Chest executable file (from step 1) file.
- Go to your Google Drive, create a folder where you want the program to upload the backups (make a copy of the folder ID - you can find it in your browser address bar).
- Now run the Chest file with parameters --ns id_of_your_screen_session --f path_to_the_folder_of_the_server --bf id_of_the_folder_where_program_will_be_upload_backups --test true. More about flags you can find here.
- For the first time, next to the folder will be created Bash files packer, starter, stopper. Also, the program will ask you to check the link and provide the code - this is because Chest is not verified by Google and you need to allow access to your Google Drive. Just check the link and provide a code.
After these steps, the program will run in test mode and back up your files (need to wait a few minutes while the program uploads the archive to Google Drive). If all steps of the backup process will be completed with no error and archive will appear in your Google Drive storage - good job!
Now you can check Flags page and run Chest in normal mode