Skip to content
Discussion options

You must be logged in to vote

I guess the simplest way would be stopping all containers from the aio interface, creating a backup, use rsync to sync the files from the old datadir (in your case probably /var/lib/docker/volumes/nextcloud_aio_nextcloud_data/_data/ into e.g. /mnt/ncdata) and then removing and recreating the mastercontainer with -e NEXTCLOUD_DATADIR="/mnt/ncdata" and also starting the containers again from the aio interface.

Another solution would be stopping all containers from the aio interface, creating a backup, removing and recreating the mastercontainer with -e NEXTCLOUD_DATADIR="/mnt/ncdata" then restore the most recent backup and afterwards starting the containers again from the aio interface. In …

Replies: 10 comments 28 replies

Comment options

You must be logged in to vote
11 replies
@Fosphorus
Comment options

@AndiLuft
Comment options

@AnubisMech
Comment options

@AndiLuft
Comment options

@PeterStepan
Comment options

Answer selected by szaimen
Comment options

You must be logged in to vote
2 replies
@szaimen
Comment options

@mikebakke
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@szaimen
Comment options

@Joly0
Comment options

@szaimen
Comment options

@szaimen
Comment options

@Joly0
Comment options

Comment options

You must be logged in to vote
3 replies
@patman-cp
Comment options

@SingerJonathan
Comment options

@romayojr
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@fredrmb
Comment options

@Fred-DTV
Comment options

Comment options

You must be logged in to vote
2 replies
@szaimen
Comment options

@nilber79
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment