You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kopia repository create rclone --remote-path b2:/de3-backup/jp3-web-kopia
Enter password to create new repository:
Re-enter password for verification:
Initializing repository with:
block hash: BLAKE2B-256-128
encryption: AES256-GCM-HMAC-SHA256
splitter: DYNAMIC-4M-BUZHASH
Connected to repository.
NOTICE: Kopia will check for updates on GitHub every 7 days, starting 24 hours after first use.
To disable this behavior, set environment variable KOPIA_CHECK_FOR_UPDATES=false
Alternatively you can remove the file "/root/.config/kopia/repository.config.update-info.json".
Retention:
Annual snapshots: 3 (defined for this target)
Monthly snapshots: 24 (defined for this target)
Weekly snapshots: 4 (defined for this target)
Daily snapshots: 7 (defined for this target)
Hourly snapshots: 48 (defined for this target)
Latest snapshots: 10 (defined for this target)
Compression disabled.
To find more information about default policy run 'kopia policy get'.
To change the policy use 'kopia policy set' command.
Step 2 do a validation
kopia repository validate-provider
Validating blob list responses
Validating non-existent blob responses
Writing blob (5000000 bytes)
Validating conditional creates...
Validating list responses...
Validating partial reads...
Validating full reads...
Validating metadata...
Running concurrency testfor 30s...
All good.
Cleaning up temporary data...
kopia repository create filesystem --path /root/kopia-local/
Enter password to create new repository: xxxxxx
Re-enter password for verification: xxxxx
Initializing repository with:
block hash: BLAKE2B-256-128
encryption: AES256-GCM-HMAC-SHA256
splitter: DYNAMIC-4M-BUZHASH
Connected to repository.
NOTICE: Kopia will check for updates on GitHub every 7 days, starting 24 hours after first use.
To disable this behavior, set environment variable KOPIA_CHECK_FOR_UPDATES=false
Alternatively you can remove the file "/root/.config/kopia/repository.config.update-info.json".
Retention:
Annual snapshots: 3 (defined for this target)
Monthly snapshots: 24 (defined for this target)
Weekly snapshots: 4 (defined for this target)
Daily snapshots: 7 (defined for this target)
Hourly snapshots: 48 (defined for this target)
Latest snapshots: 10 (defined for this target)
Compression disabled.
To find more information about default policy run 'kopia policy get'.
Verify remote repository is compatiable with Kopia
kopia repository validate-provider
Connect to Kopia repository
kopia repository connect filesystem --path /root/kopia-local/
Enter password to open repository: xxxxx
Connected to repository.
Create Kopia snapshot to backup Nextcloud
# mkdir /mnt/kopia-local
kopia snapshot create /root/nextcloud/
# Also make it run cronjob everynight
Rclone sync kopia local repository to Storagebox, BackBlaze B2 or Storj
kopia policy set --global --keep-weekly=2
kopia policy set --global --keep-monthly=1
kopia policy set --global --keep-latest=2
kopia policy set --global --keep-hourly=1
kopia policy set --global --keep-daily=2
Kopia policy global review
kopia policy show --global
Policy for (global):
Retention:
Annual snapshots: 3 (defined for this target)
Monthly snapshots: 0 (defined for this target)
Weekly snapshots: 2 (defined for this target)
Daily snapshots: 1 (defined for this target)
Hourly snapshots: 0 (defined for this target)
Latest snapshots: 2 (defined for this target)
Files policy:
Ignore cache directories: true (defined for this target)
No ignore rules:
Read ignore rules from files: (defined for this target)
.kopiaignore
Scan one filesystem only: false (defined for this target)
Error handling policy:
Ignore file read errors: false (defined for this target)
Ignore directory read errors: false (defined for this target)
Ignore unknown types: true (defined for this target)
Scheduling policy:
Scheduled snapshots:
None.
Manual snapshot: false (defined for this target)
Compression disabled.