-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vmbackup cannot open a snapshot that it just created #6251
Comments
I just tried with the latest version, and I can't tell if it creates the snapshot directory or not, because it deletes it before it says that it cannot find it:
|
@CaptSpify Could you please clarify whether |
Yup:
|
@CaptSpify Are both |
Ah, that's it then. vmbackup won't run in the victoriametrics docker container, so I set it up on another host. If it only runs locally, then I'm confused why using a url to create the snapshot is needed? |
It is needed since it is possible to change a listening host and port by using |
Ah gotcha. I just moved to an export/import model for backups instead of using vmbackup/vmrestore, so this is good to close. Thanks |
Describe the bug
When I run:
vmbackup -storageDataPath=/var/victoriametrics -snapshot.createURL=http://victoriametrics.somehost.com:8428/snapshot/create -dst=/mnt/backups/vmetrics
I get this error message:
But it did create the directory, so it does exist:
$ vmbackup --help | grep -i version
-version
Show VictoriaMetrics version
$ vmbackup -version
$
The text was updated successfully, but these errors were encountered: