I’m tasked with working a bit with a Proxmox server and am not very well versed with that.
I’m trying to make a full Backup of an existing Debian in an LXC Container. Goal is, to be able to fully roll back the machine if changes fail. It’s a one time operation, nothing to automate or such.
I’ve rsync’d the root to an external drive, but am unsure if this would restore fine. I’m more experienced with docker and not so much in LXC.
Do those of you that mo Proxmox better have any resources that i can get into to explain the Backup thing a bit?
Yeah, that’s my Problem. I’m not sure. With docker i now what is where. Not so much with LXC. And even less so with Proxmox. Like, how do i browse a proxmox storage?
You would run lxc export from the host, not inside the container. You can’t back up the entire container from inside itself. I’m sure there’s a “proxmox way” to do it too.
Ok, I’m leaving work now, so i’ll look at it tomorrow. But i should be able to ssh into the Proxmox Host and work from there.
So far i’ve only seen the webfrontend. I hate webfrontends!
Well, well. I’ve finally gotten to it.
I’ve found the console of the proxmox Server that’s running the container. So far, so good.
The lxc command on it’s own doesn’t even exist.
Through some research i found, the lxc-snapshot should be what i’m looking at. I’ve run lxc-snapshot -n 200 200-snapshot which should create a snapshot of the container 200. It created a “snaps” directory under /var/lib/lxc/200/snaps but there’s nothing in there. No idea how to tell, if the snapshot worked and if it’s restorable. lxc-snapshot -n 200 -L shows no snapshots. lxc-snapshot does not provide any output.