I need to this server restore from backup. I got the below error.
root@CHATP001:/backups# docker run -it --rm --link db -v /backups:/backups mongo:4.0.9 mongodump -h db -o /backups/mongoBACKUP
docker: Error response from daemon: could not get container for db: No such container: db.
See ‘docker run --help’.
My rocketchat v1.3.0 running 3yers on ubuntu 16.04 . now I have upgrade on it v3.14 and ubuntu upgraded on 20.04. Actually I have no idea how it is backup and how it restore! Rocket install by docker. That’s why I am trying to my latest backup take from v1.3.0 and restore it 3.14. Is it possible ? Plz give me a idea.
Mongo db is new for me. My x college install it. My rocket is running in v1.3.0 and I also latest which is upgrade from v1.3.0 to 3.14. Now plz tell me what can I do? If I am trying to do this way is it ok?
how can I take backup and how can I restore ?
I dont know where is my mongo and detail. I know my Rocket.chat folder into /root path. now tell me is is it possible my upgraded RC 3.14 to latest install RC 3.14 backup and restore between them? If possible then how?
Getting the same error with the command you mentioned above ( docker run -it --rm --link db -v /backups:/backups mongo:4.0.9 mongodump -h db -o /backups/mongoBACKUP):
docker: Error response from daemon: could not get container for db: No such container:
Has this error been addressed? Thanks
PS: I also get this error when changing “db” to something else:
Error response from daemon: Cannot link to /rc_db, as it does not belong to the default network.