Thedriveguy
Explorer
- Joined
- Apr 24, 2022
- Messages
- 51
Is there any other solutions that can do image backups of computers except UrBackup? Bonus points if it has the same system of restoring from a previous backup like urbackup.
I have this procedure in my notes :
What where the minor updates that you did? It doesn't seem to work for me.Used your procedure with minor updates and have it up and running, thanks!!
I just updated the scripts to pull down the latest version urbackup-server-2.5.31.tar.gz from the version in the script.What where the minor updates that you did? It doesn't seem to work for me.
Which part gave you an error?What where the minor updates that you did? It doesn't seem to work for me.
When I ran "urbackupsrv run -u root" It gives me the error "urbackupsrv: Command not found"Which part gave you an error?
make -j4
and make install
did not output any errors?which urbackupsrv
Nevermind I ran those commands again and it worked. I ran the rest of the notes without issue and It seems to be working. Thank you all for the support!So then it built and installed without issue?
make -j4
andmake install
did not output any errors?
What does this yield:
Code:which urbackupsrv
When I try the first step I get... Please manually run zfs destroy Primary/iocage/releases/12.2-RELEASE/root@urbackup if you wish to destroy it.I have this procedure in my notes :
Code:Create the urbackup jail: iocage create -n urbackup ip4_addr="vnet0|10.10.0.39/24" defaultrouter="10.10.0.1" vnet="on" boot="on" -r 13.1-RELEASE -b Go to the jail console: iocage console (name of jail) Install needed packages: (respond "y" if prompted) pkg install -y nano curl wget download Urbackup Source into the jail: wget https://hndl.urbackup.org/Server/2.5.27/urbackup-server-2.5.27.tar.gz Extract the archive: tar xf urbackup-server-2.5.27.tar.gz Navigate into the newly created folder: cd *.27 Then : ./configure --enable-embedded-cryptopp Then : make -j4 Then: make install To test do: urbackupsrv run -u root Browse to: "jail IP":55414 Back in the jail stop urbackupsrv: ctrl-c To make urbackup run at jail boot : nano /etc/rc.local and add to the new file : #!/bin/sh /usr/local/bin/urbackupsrv run -d -g 104857600 -u root To end and save : crtl-x y enter To make it executable : chmod +x /etc/rc.local "exit" to leave the jail "iocage restart (jail name)" to restart the jail then check you can browse to port 55414 as before
Modify as required.
This implies you already created a jail named "urbackup". You would have to destroy the jail, which can be done via the GUI. (Did you happen to create a "Clone Jail" some time ago?)I'm sorry but I am a complete noob at this. How do I "destroy" this?
Create the urbackup jail: iocage create -n urbackup ip4_addr="vnet0|10.10.0.39/24" defaultrouter="10.10.0.1" vnet="on" boot="on" -r 13.2-RELEASE -b Go to the jail console: iocage console (name of jail) Install needed packages: (respond "y" if prompted) pkg install -y nano curl wget download Urbackup Source into the jail: wget https://hndl.urbackup.org/Server/2.5.32/urbackup-server-2.5.32.tar.gz Extract the archive: tar xf urbackup-server-2.5.32.tar.gz Navigate into the newly created folder: cd *.32 Then : ./configure --enable-embedded-cryptopp Then : make -j4 Then: make install To test do: urbackupsrv run -u root Browse to: "jail IP":55414 Back in the jail stop urbackupsrv: ctrl-c To make urbackup run at jail boot : nano /etc/rc.local and add to the new file : #!/bin/sh /usr/local/bin/urbackupsrv run -d -g 104857600 -u root To end and save : crtl-x y enter To make it executable : chmod +x /etc/rc.local "exit" to leave the jail "iocage restart (jail name)" to restart the jail then check you can browse to port 55414 as before
I've been trying to resolve this problem via this post on the urbackup forums. So either via the plugins page or the commands from that post, yes I have created a jail. I have uninstalled the plugin but I guess that does not destroy the jail? If I go to the jails section there is not one showing for urbackup. As far as a clone jail, not that I am aware of.This implies you already created a jail named "urbackup". You would have to destroy the jail, which can be done via the GUI. (Did you happen to create a "Clone Jail" some time ago?)
Keep in mind, the steps themselves are outdated. You shouldn't be fetching a 13.1-RELEASE (it is EOL.) You need to replace it with 13.2-RELEASE.
Also, the latest version or UrBackup is no longer 2.5.27. It is 2.5.32.
Just a quick glance and some changes, the steps should look like this now. (Don't take my word for it. I did not test anything.)
Code:Create the urbackup jail: iocage create -n urbackup ip4_addr="vnet0|10.10.0.39/24" defaultrouter="10.10.0.1" vnet="on" boot="on" -r 13.2-RELEASE -b Go to the jail console: iocage console (name of jail) Install needed packages: (respond "y" if prompted) pkg install -y nano curl wget download Urbackup Source into the jail: wget https://hndl.urbackup.org/Server/2.5.27/urbackup-server-2.5.32.tar.gz Extract the archive: tar xf urbackup-server-2.5.32.tar.gz Navigate into the newly created folder: cd *.32 Then : ./configure --enable-embedded-cryptopp Then : make -j4 Then: make install To test do: urbackupsrv run -u root Browse to: "jail IP":55414 Back in the jail stop urbackupsrv: ctrl-c To make urbackup run at jail boot : nano /etc/rc.local and add to the new file : #!/bin/sh /usr/local/bin/urbackupsrv run -d -g 104857600 -u root To end and save : crtl-x y enter To make it executable : chmod +x /etc/rc.local "exit" to leave the jail "iocage restart (jail name)" to restart the jail then check you can browse to port 55414 as before
A "Clone Jail" is the default jail type used for creating a new jail, as well as new plugins, I believe.I've been trying to resolve this problem via this post on the urbackup forums. So either via the plugins page or the commands from that post, yes I have created a jail. I have uninstalled the plugin but I guess that does not destroy the jail? If I go to the jails section there is not one showing for urbackup. As far as a clone jail, not that I am aware of.
iocage destroy urbackup
jail 'urbackup' not found!A "Clone Jail" is the default jail type used for creating a new jail, as well as new plugins, I believe.
You can try:
Code:iocage destroy urbackup
If that doesn't work, perhaps because the jail does not exist, you'll have to start manually removing the relevant dataset(s) and snapshot(s).
Do understand the risks involved with these dangerous operations.
Do understand the risks involved with these dangerous operations.
zfs list -t filesystem -r -o name,origin Primary/iocage
zfs list -t snapshot -r -o name Primary/iocage
What do your datasets, snapshots, and clones look like under the iocage dataset?
Code:zfs list -t filesystem -r -o name,origin Primary/iocage
Code:zfs list -t snapshot -r -o name Primary/iocage
zfs destroy Primary/iocage/releases/12.2-RELEASE/root@urbackup
Done. I suppose I should now run the following?I don't see the purpose of it, so I'd assume you can safely delete it:
Code:zfs destroy Primary/iocage/releases/12.2-RELEASE/root@urbackup
iocage create -n urbackup ip4_addr="vnet0|10.10.0.39/24" defaultrouter="10.10.0.1" vnet="on" boot="on" -r 13.2-RELEASE -b
Host: 12.2-RELEASE is not greater than target: 13.2-RELEASE
This is unsupported.
Noobie mistake, the OS was not updated. I have done that now. Running the following does not give an error now but just sits there...What version of TrueNAS Core are you on?
TrueNAS Core 13.0-U5.3 is based on FreeBSD 13.1-RELEASE-p7.
You might want to upgrade. (Backup your config, of course.)
(As long as it's 13.x, it's compatible with 13.x jails, including 13.2 Base Jails.)
iocage create -n urbackup ip4_addr="vnet0|10.10.0.39/24" defaultrouter="10.10.0.1" vnet="on" boot="on" -r 13.2-RELEASE -b
andzfs list -t filesystem -r -o name,origin Primary/iocage
zfs list -t snapshot -r -o name Primary/iocage
andPrimary/iocage -
Primary/iocage/download -
Primary/iocage/download/12.2-RELEASE -
Primary/iocage/download/12.3-RELEASE -
Primary/iocage/download/13.2-RELEASE -
Primary/iocage/images -
Primary/iocage/jails -
Primary/iocage/jails/OpenSpeedTest-Server -
Primary/iocage/jails/OpenSpeedTest-Server/root -
Primary/iocage/jails/Plex -
Primary/iocage/jails/Plex/root -
Primary/iocage/jails/urbackup -
Primary/iocage/jails/urbackup/root -
Primary/iocage/log -
Primary/iocage/releases -
Primary/iocage/releases/12.2-RELEASE -
Primary/iocage/releases/12.2-RELEASE/root -
Primary/iocage/releases/12.3-RELEASE -
Primary/iocage/releases/12.3-RELEASE/root -
Primary/iocage/releases/13.2-RELEASE -
Primary/iocage/releases/13.2-RELEASE/root -
Primary/iocage/templates -
root@truenas[~]# zfs list -t snapshot -r -o name Primary/iocage
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p12_2022-02-02_13-30-37
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p13_2022-02-11_02-09-38
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p13_2022-02-11_02-17-33
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p13_2022-02-11_02-54-29
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p13_2022-02-16_11-19-11
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p13_2022-04-30_20-31-28
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p15_2022-05-25_12-13-54
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p15_2022-11-17_12-32-59
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p15_2022-12-01_13-00-05
Primary/iocage/jails/Plex@ioc_update_12.2-RELEASE-p15_2022-12-11_14-40-33
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p12_2022-02-02_13-30-37
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p13_2022-02-11_02-09-38
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p13_2022-02-11_02-17-33
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p13_2022-02-11_02-54-29
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p13_2022-02-16_11-19-11
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p13_2022-04-30_20-31-28
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p15_2022-05-25_12-13-54
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p15_2022-11-17_12-32-59
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p15_2022-12-01_13-00-05
Primary/iocage/jails/Plex/root@ioc_update_12.2-RELEASE-p15_2022-12-11_14-40-33
Primary/iocage/jails/urbackup/root@urbackup
To make things easier, instead of the first step, just create a new Base Jail manually using the GUI.Am I supposed to modify the jail create command?