Wiki source code of Server backups

Last modified by Kevin Wiki on 2024/04/06 19:29

Hide last authors
Kevin Wiki 1.1 1 (% class="row" %)
2 (((
3 (% class="col-xs-12 col-sm-8" %)
4 (((
Kevin Wiki 5.1 5 (% class="wikigeneratedid" %)
6 Backups are primarily done through proxmox backup server taking snapshot of running lxc and vm's. These are stored on mirrored ZFS array and synchronized to both off-site location and cloud storage provider.
Kevin Wiki 4.1 7
Kevin Wiki 5.1 8 (% class="wikigeneratedid" %)
9 View all required configuration on page [[Proxmox Backup server>>doc:proxmox.Backup.WebHome]].
Kevin Wiki 4.1 10
Kevin Wiki 5.1 11 = 3-2-1 backup principle =
12
Kevin Wiki 6.1 13 Original rule would be:
14 - 3 copies of data
15 - on 2 different media
16 - with 1 copy being off-site
Kevin Wiki 5.1 17
Kevin Wiki 6.1 18 from here we implement the following storage strategy 3-2-2:
19
Kevin Wiki 4.1 20 - Maintain 3 copies: 1 local, 1 off-site and 1 cloud copy.
21 - Use 2 different storage media: HDD on both sites and Cloud storage
Kevin Wiki 5.1 22 - Keep 2 copies off site: secondary datacenter and Cloud.
Kevin Wiki 4.1 23
Kevin Wiki 2.1 24 = Local backup =
Kevin Wiki 1.1 25
Kevin Wiki 5.1 26 We run most all our services with proxmox. It comes with a companion software proxmox backup server that is used to backup all resources on interval. All virtual machines and LXC containers running in our infra are then managed by [[Proxmox Backup server>>proxmox.Backup.WebHome]]. Every night snapshot are taken at between 02-05 from all [[servers>>servers.WebHome]] hosts. 
Kevin Wiki 1.1 27
Kevin Wiki 4.1 28 View cluster backup configuration: [[https:~~/~~/apollo.schleppe:8006/#v1:0:18:4:::::32::21>>https://10.0.0.60:8006/#v1:0:18:4:::::32::21]]
29 View backups at: [[https:~~/~~/clio.schleppe:8007/#pbsDashboard>>https://clio.schleppe:8007/#pbsDashboard]]
30 View syncthing: [[http:~~/~~/clio.schleppe:8384>>http://clio.schleppe:8384]]
Kevin Wiki 1.1 31
Kevin Wiki 2.1 32 = Offsite backup =
Kevin Wiki 1.1 33
Kevin Wiki 4.1 34 To ensure backups are not lost if the entire local datacenter is lost we want to syncronize all backups to an off-site location. Syncthing is used to duplicate everything on local proxmox backup server.
Kevin Wiki 1.1 35
Kevin Wiki 8.1 36 **Tailscale** is used networking, find configuration details at [[Proxmox Backup server - Tailscale>>doc:proxmox.Backup.WebHome||anchor="HTailscale"]].
Kevin Wiki 9.1 37 **Syncthing** is used for file transfer, find configuration details at [[Proxmox Backup server - Syncthing>>doc:proxmox.Backup.WebHome||anchor="HSyncthing"]].
Kevin Wiki 1.1 38
Kevin Wiki 5.1 39 = Cloud backup =
Kevin Wiki 4.1 40
Kevin Wiki 5.1 41 All proxmox backup files, including chunk, namespace and configuration files are syncronized to jottacloud using jotta-cli, view configuration details on page [[Proxmox Backup server - Jottacloud client>>doc:proxmox.Backup.WebHome||anchor="HJottacloudclient"]].
Kevin Wiki 1.1 42
Kevin Wiki 5.1 43 There is an inherit flaw in this backing up deduplicated and chunked data, as an entire download is required to reconstruct backups for restoration. Read more about it on the page linked above.
Kevin Wiki 1.1 44 )))
45
46
47 (% class="col-xs-12 col-sm-4" %)
48 (((
49 {{box title="**Contents**"}}
50 {{toc/}}
51 {{/box}}
52 )))
53 )))