Backing up shared folders

#1

Hi,

Backing up shared folders as source does not work.

It works normal till the end and at the end gives as ‘Fatial error file not found’
Some thing like that

restic backup //172.16.0.111/folder

Has anyone tried & got success

0 Likes

#2

A log output will be more helpful for someone to help diagnose. However, keep in mind this bug which affects restores in Windows when backing up via UNC paths: https://github.com/restic/restic/issues/1904

0 Likes

#3

command for backup
restic_0.9.2_windows_amd64.exe -r \192.168.0.121\Restic --hostname SEAGATE backup \192.168.0.121\folder

Error at the end
Fatal: unable to save snapshot: Lstat: CreateFile \?\C:\Users\Administrator\192.168.0.121: The system cannot find the file specified.

0 Likes

#4

Have you tried using the drive letter to access the share?

Something like this (replace F with your drive letter):
restic_0.9.2_windows_amd64.exe -r F:\Restic --hostname SEAGATE backup F:\folder

0 Likes

#5

ya…
A command like this works fine. Only network path fails. :slight_smile:

I want to backup my nas box this way

0 Likes

#6

Just to clarify, are you specifying network paths with \ at the start? Like \ip\path (your example only shows single slashes)?

0 Likes

#7

Ya it’s double slashes…

Backups run till the end and give out that error.
In this case around 35 gb
I need to purge the repository later. It than reduces around 24 gb.

0 Likes

#8

The solution was to use a slash at the end like //172.16.0.99/share/

But the new problem is restoration failure completely

0 Likes