Error while restoring to new container

techlightguru

New Member
Apr 25, 2018
5
0
1
30
I am trying to restore a backup of mattermost chat container in a new container.
I kept getting errors like

tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/gj1yieifdjnf7xdxei46hme41h: Cannot mkdir: No such file or directory
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/gj1yieifdjnf7xdxei46hme41h/Participants -- Vow.pdf: Cannot open: No such file or directory
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/3ggugm6nk3bwfdigwd9zinij4c: Cannot mkdir: No such file or directory
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/3ggugm6nk3bwfdigwd9zinij4c/Participants -- vow.pdf: Cannot open: No such file or directory
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/zt481gu5k3ysud138n37c93epy: Cannot mkdir: No such file or directory
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/zt481gu5k3ysud138n37c93epy/Participants vow.pdf: Cannot open: No such file or directory

And then at the end this:

tar: Exiting with failure status due to previous errors
Logical volume "vm-109-disk-1" successfully removed
TASK ERROR: command 'tar xpf /proc/self/fd/12 --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/109/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2


Help please
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!