Skip to content

Quick feedback on Windows rustic version #530

@deajan

Description

@deajan

Hello,

Just happened to pop by your new 0.5.0 release of rustic. Thanks for the effort you put into it.
I was investigating if I could use it as an alternative backend for my project at https://github.com/netinvnet/npbackup which is basically a restic CLI / GUI with prometheus support.

So I gave it a quick test run on my windows environment:

Local backups comparaison:

  • restic
SET RESTIC_REPOSITORY=c:\restic
SET RESTIC_PASSWORD=password
restic init --repository-version 2 --compression auto
restic backup c:\git\npbackup

repository e8085438 opened (version 2, compression level auto)
created new cache in C:\Users\Orsiris\AppData\Local\restic
no parent snapshot found, will read all files

Files:       16897 new,     0 changed,     0 unmodified
Dirs:         1183 new,     0 changed,     0 unmodified
Added to the repository: 1.155 GiB (620.145 MiB stored)

processed 16897 files, 1.876 GiB in 0:04
snapshot 2f8fb843 saved
  • rustic
SET RUSTIC_REPOSITORY=c:\rustic
SET RUSTIC_PASSWORD=password
rustic init --set-version 2
rustic backup c:\git\npbackup
using no config file (.\rustic.toml doesn't exist)
[INFO] repository c:\rtoto: password is correct.
[INFO] using cache at C:\Users\SomeUser\AppData\Local\rustic\9ed2a3773ffa433ee92f420dbe3175cacc0887b79453c171f23f499cc79ebde8
[00:00:00] reading index...               ████████████████████████████████████████          0/0                                                                                                                                              [INFO] starting to backup "C:\\GIT\\npbackup"...
[00:00:00] getting latest snapshot...     ████████████████████████████████████████          0/0                                                                                                                                              [INFO] using no parent
[00:00:22] backing up...                  ████████████████████████████████████████   1.88 GiB/1.88 GiB   85.13 MiB/s  (ETA 0s)                                                                                                               Files:       16897 new, 0 changed, 0 unchanged
Dirs:        1182 new, 1 changed, 0 unchanged
Added to the repo: 612.7 MiB (raw: 1.1 GiB)
processed 16897 files, 1.9 GiB
snapshot bf01e4ac successfully saved.
[INFO] backup of "C:\\GIT\\npbackup" done.

So basically size is the same, but:

  • restic uses approx 450MB of RAM whereas rustic uses up to 90MB
  • restic is currently 5x faster than restic

I've a also tried to read a rest-server remote repository.
While I can read it with restic, I get the following results when trying rustic:

SET RUSTIC_REPOSITORY=rest:https://USER---COMPUTER:LongPassword@my.remote.server.tld/USER---COMPUTER
SET RUSTIC_PASSWORD=SomeReallyLongPasswordIUseWithRestic

rustic ls latest
using no config file (.\rustic.toml doesn't exist)
[WARN] Error error sending request for url (https://my.remote.server.tld/USER---COMPUTER/config): connection error: An existing connection was forcibly closed by the remote host. (os error 10054) at 539.476337ms, retrying

I've disabled IPv6 and got quite similar results, but with much more "connection closed" messages.

rustic ls latest
using no config file (.\rustic.toml doesn't exist)
[WARN] Error error sending request for url (https://my.remote.server.tld/USER---COMPUTER/config): connection closed before message completed at 737.243103ms, retrying
[WARN] Error error sending request for url (https://my.remote.server.tld/USER---COMPUTER/config): connection closed before message completed at 1.039009181s, retrying
[WARN] Error error sending request for url (https://my.remote.server.tld/USER---COMPUTER/config): connection closed before message completed at 1.149513485s, retrying
[WARN] Error error sending request for url (https://my.remote.server.tld/USER---COMPUTER/config): connection error: An existing connection was forcibly closed by the remote host.. (os error 10054) at 2.033619738s, retrying
[WARN] Error error sending request for url (https://my.remote.server.tld/USER---COMPUTER/config): connection closed before message completed at 1.741580498s, retrying

rest-server doesn't show any special messages in log file.
Does rustic support rest-server (0.11.0) as of version 0.5.0 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-windowsOperating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions