1 |
jpp |
1.1 |
diff -Nur --no-dereference smeserver-BackupPC-0.2.old/createlinks smeserver-BackupPC-0.2/createlinks |
2 |
|
|
--- smeserver-BackupPC-0.2.old/createlinks 2022-07-21 10:49:08.984000000 -0400 |
3 |
|
|
+++ smeserver-BackupPC-0.2/createlinks 2022-07-21 10:50:46.898000000 -0400 |
4 |
|
|
@@ -55,3 +55,11 @@ |
5 |
|
|
safe_touch("root/etc/e-smith/events/logrotate/logfiles2timestamp/var/log/httpd/bkpc_error_log"); |
6 |
|
|
safe_touch("root/var/service/httpd-bkpc/down"); |
7 |
|
|
|
8 |
|
|
+ |
9 |
|
|
+use esmith::Build::Backup qw(:all); |
10 |
|
|
+backup_includes("smeserver-BackupPC", qw( |
11 |
|
|
+/etc/BackupPC |
12 |
|
|
+)); |
13 |
|
|
+# warning this could be a symlink to an external drive |
14 |
|
|
+# also this will not backup the whole backups, but who would do that by default ? |
15 |
|
|
+# /var/lib/BackupPC |