aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-05 10:42:15 +0200
committerneodarz <neodarz@neodarz.net>2018-08-05 10:42:15 +0200
commit744800fead513e959249d428163a680b511e09b6 (patch)
treeb0c5dab5c6de4fc6800152c4f259185c3b793b11
parent3e132a4ed98df00e409d1121f22f24e8c6aa5593 (diff)
downloaddotfiles_ascii-744800fead513e959249d428163a680b511e09b6.tar.xz
dotfiles_ascii-744800fead513e959249d428163a680b511e09b6.zip
Set correct data format in examples
Diffstat (limited to '')
-rw-r--r--cheat/.cheat/borg6
1 files changed, 3 insertions, 3 deletions
diff --git a/cheat/.cheat/borg b/cheat/.cheat/borg
index 0f7fb3f..c5747da 100644
--- a/cheat/.cheat/borg
+++ b/cheat/.cheat/borg
@@ -8,16 +8,16 @@ borg create /path/to/repo::Monday ~/src ~/Documents
borg create --stats /path/to/repo::Tuesday ~/src ~/Documents
# For archive name with data instead of simple name
-borg create /Backups/Docs_importants::{now:%Y-%m-%d} ~/Docs_importants
+borg create /Backups/Docs_importants::{now:%Y-%m-%d-%H:%M:%S.%f} ~/Docs_importants
# Example
-borg create -C lzma,6 ~/Backups/Docs_importants::{now:%Y-%m-%d} ~/Docs_importants
+borg create -C lzma,6 ~/Backups/Docs_importants::{now:%Y-%m-%d-%H:%M:%S.%f} ~/Docs_importants
# Tips
borg save fullpath, so if already in subfolder, remove some leading path elements
with `strip-components`. Exemple:
-borg extract --strip-components 3 ~/Backups/Docs_importants::2018-07-01
+borg extract --strip-components 3 ~/Backups/Docs_importants::2018-07-01-13:29:05.247461
# compression
lz4 < zstd < zlib < lzma