Closed LasoGit closed 1 year ago
@LasoGit You have to explain the problem. What do you mean by "can't manage to replace the # 'Users' line"? It's just a line of text - replace it using a text editor?
@rawtaz Sorry for not explaining the issue concisely. Following the instructions, I successfully initialized a new repo (step 4 ii.) so assume I did everything right up to that point. In step 5, I changed the default $BackupSources in order to only backup "folder123" and not the entire drive C:. I replaced lines 27-30 in config.ps1 with this:
$BackupSources = @{} $BackupSources["C:\"] = @( users\user\path\to\folder123 )
I omitted step 6 (nothing to exclude), followed step 7 (exclusion from win detection) and finally triggered the task manually in Task Scheduler. In the Task Scheduler, "Restic Backup" shows as "running", but nothing happens except for empty error logs appearing in Githubissues.
EDIT: see last post
Dear Kevin,
many thanks for your work! I followed your installation instructions successfully until defining $BackupSources in config.ps1.
This will back up C:\ entirely:
I only want to include a specific folder and can't manage to replace the # 'Users' line with C:\path\to\folder Can you please advise? Sorry for raising this as an issue, I searched the forum to no avail and think this is the best place to look for an answer...