Wiki source code of Server backups

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

Show last authors
1 (% class="row" %)
2 (((
3 (% class="col-xs-12 col-sm-8" %)
4 (((
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.
7
8 (% class="wikigeneratedid" %)
9 View all required configuration on page [[Proxmox Backup server>>doc:proxmox.Backup.WebHome]].
10
11 = 3-2-1 backup principle =
12
13 Original rule would be:
14 - 3 copies of data
15 - on 2 different media
16 - with 1 copy being off-site
17
18 from here we implement the following storage strategy 3-2-2:
19
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
22 - Keep 2 copies off site: secondary datacenter and Cloud.
23
24 = Local backup =
25
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. 
27
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]]
31
32 = Offsite backup =
33
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.
35
36 **Tailscale** is used networking, find configuration details at [[Proxmox Backup server - Tailscale>>doc:proxmox.Backup.WebHome||anchor="HTailscale"]].
37 **Syncthing** is used for file transfer, find configuration details at [[Proxmox Backup server - Syncthing>>doc:proxmox.Backup.WebHome||anchor="HSyncthing"]].
38
39 = Cloud backup =
40
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"]].
42
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.
44 )))
45
46
47 (% class="col-xs-12 col-sm-4" %)
48 (((
49 {{box title="**Contents**"}}
50 {{toc/}}
51 {{/box}}
52 )))
53 )))