Compare commits
No commits in common. "0ec2c73ff98d4e8e64cf2937d02f09847ee510ce" and "bafbf5dabab674fd4786d3fffe4847f4fea6ceac" have entirely different histories.
0ec2c73ff9
...
bafbf5daba
|
@ -81,7 +81,6 @@
|
|||
shell = pkgs.fish;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAbHBpW1JgArO7XFr3mqMD8nCf3RjkHzso+mpNjR8iZi coolneng@panacea"
|
||||
"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAstGGn6Ri+LtR6ffPrRgFcLF1fJFRIyz2WrbYMjQRNGdYyr/01TSmh0N2DLapDPhHAiKk7M5qHc9ltSZxWS4zQIkKAVWhyeGbvc/Yya/T8Yy04ltm2XZQEKx92dFhQMBUhDKc/Sp/JQy+jmvzWDL/bt7tmAOzXvVElEaeapvlhaihlwrH1EqTgV44x08MVlOcDJLSEJqCwj1OsD6zT1D58TCc/VawNh9DXJm7MK/1OhesziRFXKR9Wzr0zYcTjYe78ISpILZeilxFA08TQrua51kHIEL/BznXN+IRRIXrhDqQIWkdJTEMIC83//jbOoePvJ7sjrrS2VZwEOg0N+zt+Q== root@sica"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
sybase_service() {
|
||||
/etc/init.d/sybase "$1"
|
||||
}
|
||||
|
||||
perform_backup() {
|
||||
zip -r BBDD_"$(date +"%d%m%Y")".zip /opt/sybase
|
||||
scp BBDD_"$(date +"%d%m%Y")".zip unit:/vault/sica
|
||||
}
|
||||
|
||||
cleanup() {
|
||||
rm BBDD_"$(date +"%d%m%Y")".zip
|
||||
}
|
||||
|
||||
sybase_service stop
|
||||
perform_backup
|
||||
sybase_service start
|
||||
cleanup
|
Loading…
Reference in New Issue