You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your question request related to a specific component?
No response
Describe the question in detail
create snap and delete right now.
root@localhost-Standard-PC-i440FX-PIIX-1996:/home/localhost/workspace/localhost/vec# ./vicbackup/utils/vmbackup-prod -storageDataPath=/home/localhost/workspace/localhost/vec/data -snapshot.createURL=http://localhost:8428/snapshot/create -dst=fs:///home/localhost/workspace/localhost/vec/backtmp
2024-05-30T08:56:44.465Z info VictoriaMetrics/lib/logger/flag.go:12 build version: vmbackup-20240425-145523-tags-v1.101.0-0-g5334f0c2c
2024-05-30T08:56:44.465Z info VictoriaMetrics/lib/logger/flag.go:13 command-line flags
2024-05-30T08:56:44.466Z info VictoriaMetrics/lib/logger/flag.go:20 -dst="fs:///home/localhost/workspace/localhost/vec/backtmp"
2024-05-30T08:56:44.466Z info VictoriaMetrics/lib/logger/flag.go:20 -snapshot.createURL="secret"
2024-05-30T08:56:44.466Z info VictoriaMetrics/lib/logger/flag.go:20 -storageDataPath="/home/localhost/workspace/localhost/vec/data"
2024-05-30T08:56:44.467Z info VictoriaMetrics/app/vmbackup/main.go:67 Snapshot create url http://localhost:8428/snapshot/create
2024-05-30T08:56:44.467Z info VictoriaMetrics/app/vmbackup/main.go:78 Snapshot delete url http://localhost:8428/snapshot/delete
2024-05-30T08:56:44.468Z info VictoriaMetrics/lib/snapshot/snapshot.go:32 Creating snapshot
2024-05-30T08:56:44.844Z info VictoriaMetrics/lib/snapshot/snapshot.go:64 Snapshot 20240530085644-17D42B837EDE4E68 created
2024-05-30T08:56:44.844Z info VictoriaMetrics/lib/snapshot/snapshot.go:75 Deleting snapshot 20240530085644-17D42B837EDE4E68
2024-05-30T08:56:44.845Z info VictoriaMetrics/lib/httpserver/httpserver.go:119 starting server at http://127.0.0.1:8420/
2024-05-30T08:56:44.845Z info VictoriaMetrics/lib/httpserver/httpserver.go:120 pprof handlers are exposed at http://127.0.0.1:8420/debug/pprof/
2024-05-30T08:56:44.875Z info VictoriaMetrics/lib/snapshot/snapshot.go:108 Snapshot 20240530085644-17D42B837EDE4E68 deleted
2024-05-30T08:56:44.875Z fatal VictoriaMetrics/app/vmbackup/main.go:104 cannot create backup: cannot open snapshot at "/home/localhost/workspace/localhost/vec/data/snapshots/20240530085644-17D42B837EDE4E68": open /home/localhost/workspace/localhost/vec/data/snapshots/20240530085644-17D42B837EDE4E68: no such file or directory
Hi @hidakafinzelz ! As i can see from the log you incorrectly set the storage path. The error that you see happened before the folder was deleted. But the problem here i think is that you defined the storage data as -storageDataPath=/home/localhost/workspace/localhost/vec/data but you should defined it as -storageDataPath=/home/localhost/workspace/localhost/vec/
Is your question request related to a specific component?
No response
Describe the question in detail
create snap and delete right now.
root@localhost-Standard-PC-i440FX-PIIX-1996:/home/localhost/workspace/localhost/vec# ./vicbackup/utils/vmbackup-prod -storageDataPath=/home/localhost/workspace/localhost/vec/data -snapshot.createURL=http://localhost:8428/snapshot/create -dst=fs:///home/localhost/workspace/localhost/vec/backtmp
2024-05-30T08:56:44.465Z info VictoriaMetrics/lib/logger/flag.go:12 build version: vmbackup-20240425-145523-tags-v1.101.0-0-g5334f0c2c
2024-05-30T08:56:44.465Z info VictoriaMetrics/lib/logger/flag.go:13 command-line flags
2024-05-30T08:56:44.466Z info VictoriaMetrics/lib/logger/flag.go:20 -dst="fs:///home/localhost/workspace/localhost/vec/backtmp"
2024-05-30T08:56:44.466Z info VictoriaMetrics/lib/logger/flag.go:20 -snapshot.createURL="secret"
2024-05-30T08:56:44.466Z info VictoriaMetrics/lib/logger/flag.go:20 -storageDataPath="/home/localhost/workspace/localhost/vec/data"
2024-05-30T08:56:44.467Z info VictoriaMetrics/app/vmbackup/main.go:67 Snapshot create url http://localhost:8428/snapshot/create
2024-05-30T08:56:44.467Z info VictoriaMetrics/app/vmbackup/main.go:78 Snapshot delete url http://localhost:8428/snapshot/delete
2024-05-30T08:56:44.468Z info VictoriaMetrics/lib/snapshot/snapshot.go:32 Creating snapshot
2024-05-30T08:56:44.844Z info VictoriaMetrics/lib/snapshot/snapshot.go:64 Snapshot 20240530085644-17D42B837EDE4E68 created
2024-05-30T08:56:44.844Z info VictoriaMetrics/lib/snapshot/snapshot.go:75 Deleting snapshot 20240530085644-17D42B837EDE4E68
2024-05-30T08:56:44.845Z info VictoriaMetrics/lib/httpserver/httpserver.go:119 starting server at http://127.0.0.1:8420/
2024-05-30T08:56:44.845Z info VictoriaMetrics/lib/httpserver/httpserver.go:120 pprof handlers are exposed at http://127.0.0.1:8420/debug/pprof/
2024-05-30T08:56:44.875Z info VictoriaMetrics/lib/snapshot/snapshot.go:108 Snapshot 20240530085644-17D42B837EDE4E68 deleted
2024-05-30T08:56:44.875Z fatal VictoriaMetrics/app/vmbackup/main.go:104 cannot create backup: cannot open snapshot at "/home/localhost/workspace/localhost/vec/data/snapshots/20240530085644-17D42B837EDE4E68": open /home/localhost/workspace/localhost/vec/data/snapshots/20240530085644-17D42B837EDE4E68: no such file or directory
Troubleshooting docs
The text was updated successfully, but these errors were encountered: