#TheNairns server
- Create 3 different unraid shares:
- /mnt/user/Paperless
- /mnt/user/Config
- /mnt/user/Nextcloud
- /mnt/user/PersonalMedia
- Install the RClone Unraid plugin
- Set RClone config
- Replace CLIENT_ID
- Replace CLIENT_SECRET
- Replace ACCESS_TOKEN
- Replace ROOT_FOLDER_ID
- Replace PASSWORD
- Replace PASSWORD2
[gcloud]
type = drive
client_id = CLIENT_ID
client_secret = CLIENT_SECRET
scope = drive.file
root_folder_id = ROOT_FOLDER_ID
token = ACCESS_TOKEN
[gclouddocs]
type = crypt
remote = gcloud:/docs
filename_encryption = obfuscate
directory_name_encryption = false
password = PASSWORD
password2 = PASSWORD2
[gcloudconfig]
type = crypt
remote = gcloud:/config
filename_encryption = obfuscate
directory_name_encryption = false
password = PASSWORD
password2 = PASSWORD_2
[gcloudnextcloud]
type = crypt
remote = gcloud:/nextcloud
filename_encryption = obfuscate
directory_name_encryption = false
password = PASSWORD
password2 = PASSWORD2
[gcloudpersonal]
type = crypt
remote = gcloud:/personal
filename_encryption = obfuscate
directory_name_encryption = false
password = PASSWORD
password2 = PASSWORD2
- Start restore:
#!/bin/bash
echo "starting paperless restore"
rclone copy -v gclouddocs: /mnt/user/Paperless/
echo "starting config restore"
rclone copy -v gcloudconfig: /mnt/user/Config/
echo "starting nextcloud restore"
rclone copy -v gcloudnextcloud: /mnt/user/Nextcloud/
echo "starting nextcloud restore"
rclone copy -v gscloudpersonal: /mnt/user/PersonalMedia/
Backup:
#!/bin/bash
echo "starting paperless backup"
rclone copy -v /mnt/user/Paperless/ gclouddocs:
echo "starting config backup"
rclone copy -v /mnt/user/Config/ gcloudconfig: --exclude "plex/" --exclude "vscode/"
echo "starting nextcloud backup"
rclone copy -v /mnt/user/Nextcloud/ gcloudnextcloud:
echo "starting nextcloud backup"
rclone copy -v /mnt/user/PersonalMedia/ gcloudpersonal:
- Start docker-compose