-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbackup_system.man
69 lines (60 loc) · 1.32 KB
/
backup_system.man
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.\" Manpage for backup_system.sh.
.TH BACKUP_SYSTEM 1 "November2024" "1.0" "backup_system.sh manual"
.SH NAME
backup_system.sh \- Backup and restore system packages and configurations
.SH SYNOPSIS
.B backup_system.sh
[\fIoptions\fR]
.SH DESCRIPTION
.B backup_system.sh
is a script to backup and restore installed packages and configuration files on a Debian system.
.SH OPTIONS
.TP
.B \-a, \-\-apt
Backup apt packages.
.TP
.B \-b, \-\-brew
Backup homebrew packages.
.TP
.B \-f, \-\-flatpak
Backup flatpak packages.
.TP
.B \-s, \-\-snap
Backup snap packages.
.TP
.B \-g, \-\-gnome
Backup GNOME configuration.
.TP
.B \-t, \-\-terminal
Backup terminal configuration.
.TP
.B \-n, \-\-nvim
Backup nvim configuration.
.TP
.B \-c, \-\-config
Backup .config folder.
.TP
.B \-A, \-\-all
Backup all packages and configurations.
.TP
.B \-r, \-\-restore
Restore system based on the .cfg file.
.TP
.B \-h, \-\-help
Display this help message.
.SH EXAMPLES
.TP
.B ./backup_system.sh --all
Backup all packages and configurations.
.TP
.B ./backup_system.sh --apt --brew --gnome
Backup apt packages, homebrew packages, and GNOME configuration.
.TP
.B ./backup_system.sh --restore
Restore system based on the .cfg file.
.SH AUTHOR
Written by [Your Name].
.SH COPYRIGHT
Copyright \(co 2023 [Your Name]. License: MIT.
.SH SEE ALSO
apt(8), brew(1), flatpak(1), snap(1)