Novice user. I’ve read through the docs and I think the answer must be simple, but it’s eluding me.
Running restic 0.15.0 on Linux. I want to back up every file beginning with .e
in my home directory. I’m trying various invocations like the following, but it does not seem to want to include those dotfiles in the backup.
> restic backup /home/eater/.e*
...
start scan on [/home/eater/.electron /home/eater/.electrum /home/eater/.emerald /home/eater/.enhancd /home/eater/.esd_auth /home/eater/.ether /home/eater/.expo]
start backup on [/home/eater/.electron /home/eater/.electrum /home/eater/.emerald /home/eater/.enhancd /home/eater/.esd_auth /home/eater/.ether /home/eater/.expo]
scan finished in 1.628s: 0 files, 0 B
Files: 0 new, 0 changed, 0 unmodified
Dirs: 0 new, 2 changed, 0 unmodified
Data Blobs: 0 new
Tree Blobs: 2 new
Added to the repository: 745 B (883 B stored)
processed 0 files, 0 B in 0:12
snapshot 185d5d1e saved
> restic ls latest
repository 4fe632bb opened (version 1)
snapshot 185d5d1e of [/home/eater/.electron /home/eater/.electrum /home/eater/.emerald /home/eater/.enhancd /home/eater/.esd_auth /home/eater/.ether /home/eater/.expo] filtered by [] at 2023-01-22 12:01:17.390573792 -0500 EST):
/home
/home/eater
and the dotfiles are not in the snapshot.