Are snapshots supported when running Duplicati via docker? I’ve tried both the duplicati/duplicati and the linuxserver/duplicati images to no avail. Whenever I select snapshot-policy
as “Required” (I want it to fail if the snapshot doesn’t work), it instantly fails and throws the error below.
I’m just looking to back up one folder to another, but that folder has some sqlite DBs and i’d need snapshots due to them being open/locked.
Anything I’m missing?
System.Exception: The external command failed to start.
Error message: System.ComponentModel.Win32Exception (0x80004005):
ApplicationName='/app/duplicati/lvm-scripts/find-volume.sh', CommandLine='"/dockerdata/"',
CurrentDirectory='', Native error= Access denied
at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo
startInfo) [0x0029f] in <5bf358e735be486487282a37cb3bce80>:0
at System.Diagnostics.Process.Start () [0x0003a] in <5bf358e735be486487282a37cb3bce80>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x0001b] in
<5bf358e735be486487282a37cb3bce80>:0
at Duplicati.Library.Snapshots.LinuxSnapshot+SnapShot.ExecuteCommand (System.String
program, System.String commandline, System.Int32 expectedExitCode) [0x00049] in
<e2815415a41f468e87ce853d8f434f04>:0
Command: /app/duplicati/lvm-scripts/find-volume.sh "/dockerdata/"
at Duplicati.Library.Snapshots.LinuxSnapshot+SnapShot.ExecuteCommand (System.String
program, System.String commandline, System.Int32 expectedExitCode) [0x000f5] in
<e2815415a41f468e87ce853d8f434f04>:0
at Duplicati.Library.Snapshots.LinuxSnapshot+SnapShot.Initialize (System.String folder) [0x00010]
in <e2815415a41f468e87ce853d8f434f04>:0
at Duplicati.Library.Snapshots.LinuxSnapshot+SnapShot..ctor (System.String path) [0x00047] in
<e2815415a41f468e87ce853d8f434f04>:0
at Duplicati.Library.Snapshots.LinuxSnapshot..ctor (System.Collections.Generic.IEnumerable`1[T]
sources) [0x000e5] in <e2815415a41f468e87ce853d8f434f04>:0
at Duplicati.Library.Snapshots.SnapshotUtility.CreateLinuxSnapshot
(System.Collections.Generic.IEnumerable`1[T] folders) [0x00000] in
<e2815415a41f468e87ce853d8f434f04>:0
at Duplicati.Library.Snapshots.SnapshotUtility.CreateSnapshot
(System.Collections.Generic.IEnumerable`1[T] folders,
System.Collections.Generic.Dictionary`2[TKey,TValue] options) [0x0000f] in
<e2815415a41f468e87ce853d8f434f04>:0
at Duplicati.Library.Main.Operation.BackupHandler.GetSnapshot (System.String[] sources,
Duplicati.Library.Main.Options options) [0x00024] in <c6c6871f516b48f59d88f9d731c3ea4d>:0
at Duplicati.Library.Main.Operation.BackupHandler.RunAsync (System.String[] sources,
Duplicati.Library.Utility.IFilter filter) [0x01031] in <c6c6871f516b48f59d88f9d731c3ea4d>:0
at CoCoL.ChannelExtensions.WaitForTaskOrThrow (System.Threading.Tasks.Task task) [0x00050]
in <6973ce2780de4b28aaa2c5ffc59993b1>:0
at Duplicati.Library.Main.Operation.BackupHandler.Run (System.String[] sources,
Duplicati.Library.Utility.IFilter filter) [0x00008] in <c6c6871f516b48f59d88f9d731c3ea4d>:0
at Duplicati.Library.Main.Controller+<>c__DisplayClass13_0.<Backup>b__0
(Duplicati.Library.Main.BackupResults result) [0x00035] in
<c6c6871f516b48f59d88f9d731c3ea4d>:0
at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.String[]& paths,
Duplicati.Library.Utility.IFilter& filter, System.Action`1[T] method) [0x00271] in
<c6c6871f516b48f59d88f9d731c3ea4d>:0
at Duplicati.Library.Main.Controller.Backup (System.String[] inputsources,
Duplicati.Library.Utility.IFilter filter) [0x00068] in <c6c6871f516b48f59d88f9d731c3ea4d>:0
at Duplicati.Server.Runner.Run (Duplicati.Server.Runner+IRunnerData data, System.Boolean
fromQueue) [0x00307] in <fe28905ee30b422e8d475f1cfdb85515>:0