Automatic backup on server Ubuntu

Backup, Restore, Netbak Replicator, Cloud Storage Services
User avatar
Toxic17
Ask me anything
Posts: 6480
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: Automatic backup on server Ubuntu

Post by Toxic17 »

FSC830 wrote: Fri Jan 27, 2023 12:49 am
In Opposition to @Toxic17 I prefer the "old" Backup Station at this QTS versions.
Using HBS was a bit buggy, at least at my end. So I did remove HBS and use Backup Station again.
Personally I only use HBS for NAS backups to USB or other NAS's. it works for me.

As to Linux/Windows to NAS, I use UrBackup now, but use to use rsync to schedule jobs on the clients to backup to the NAS that has rsync enabled within HBS3.
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
Cdelphi78
Starting out
Posts: 29
Joined: Tue Jan 24, 2023 6:46 pm

Re: Automatic backup on server Ubuntu

Post by Cdelphi78 »

FSC830 wrote: Fri Jan 27, 2023 12:49 am Why creating a new thread for the same question: Automatic backups from TS-269...???

Also: please switch GUI language to English prior creating screenshots fir the forum.

In Opposition to @Toxic17 I prefer the "old" Backup Station at this QTS versions.
Using HBS was a bit buggy, at least at my end. So I did remove HBS and use Backup Station again.

In the video the SMB/CIFS needs be created in "Storage spaces" first, a screenshot from my TS-473A:

storage_spaces.png

Afterwards you can create Jobs. Depending on job type (sync job) the desired storage space can be selected as target or as source.

Regards
The fact is that the whole point is that I don’t have SMB / CIFS in HBS 3, so I probably would have already done everything
FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: Automatic backup on server Ubuntu

Post by FSC830 »

Cdelphi78 wrote: Fri Jan 27, 2023 7:48 pm
The fact is that the whole point is that I don’t have SMB / CIFS in HBS 3, so I probably would have already done everything
Actually hard to believe.
Please go to "Storage Spaces" in HBS3 and click to "Create". Post a screenshot of the outcome (please set GUI language to English before taking the screenshot).

Regards
Cdelphi78
Starting out
Posts: 29
Joined: Tue Jan 24, 2023 6:46 pm

Re: Automatic backup on server Ubuntu

Post by Cdelphi78 »

FSC830 wrote: Fri Jan 27, 2023 8:35 pm
Cdelphi78 wrote: Fri Jan 27, 2023 7:48 pm
The fact is that the whole point is that I don’t have SMB / CIFS in HBS 3, so I probably would have already done everything
Actually hard to believe.
Please go to "Storage Spaces" in HBS3 and click to "Create". Post a screenshot of the outcome (please set GUI language to English before taking the screenshot).

Regards
Image
Oh stop, you are not going there, I go to backup&restore - new bakup job - I choose a folder - and then he asks me to choose a destination storage space!
And how do they differ?
Cdelphi78
Starting out
Posts: 29
Joined: Tue Jan 24, 2023 6:46 pm

Re: Automatic backup on server Ubuntu

Post by Cdelphi78 »

FSC830 wrote: Fri Jan 27, 2023 8:35 pm
Cdelphi78 wrote: Fri Jan 27, 2023 7:48 pm
The fact is that the whole point is that I don’t have SMB / CIFS in HBS 3, so I probably would have already done everything
Actually hard to believe.
Please go to "Storage Spaces" in HBS3 and click to "Create". Post a screenshot of the outcome (please set GUI language to English before taking the screenshot).

Regards
Why error?
Image
Image
FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: Automatic backup on server Ubuntu

Post by FSC830 »

Not sure if I remember correct, but check, if SMB version v1 is running at target.
As far as I remember this app needs v1, higher versions can not be used. :(

Regards
Cdelphi78
Starting out
Posts: 29
Joined: Tue Jan 24, 2023 6:46 pm

Re: Automatic backup on server Ubuntu

Post by Cdelphi78 »

FSC830 wrote: Fri Jan 27, 2023 9:25 pm Not sure if I remember correct, but check, if SMB version v1 is running at target.
As far as I remember this app needs v1, higher versions can not be used. :(

Regards
version smb 4.3
so what should I do how to set up backups?
FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: Automatic backup on server Ubuntu

Post by FSC830 »

Check your /etc/samba/smb.conf. To enable (allow) SMBv1 the min client version in global section should be as follows:

Code: Select all

[global]
client min protocol = NT1
client max protocol = SMB3
Afterwards restart samba daemon (or host) and check access from NAS again.

Regards
Cdelphi78
Starting out
Posts: 29
Joined: Tue Jan 24, 2023 6:46 pm

Re: Automatic backup on server Ubuntu

Post by Cdelphi78 »

FSC830 wrote: Mon Jan 30, 2023 3:47 pm Check your /etc/samba/smb.conf. To enable (allow) SMBv1 the min client version in global section should be as follows:

Code: Select all

[global]
client min protocol = NT1
client max protocol = SMB3
Afterwards restart samba daemon (or host) and check access from NAS again.

Regards
ok, I connected, what's next? How to create a scheduled copy task?

Image
FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: Automatic backup on server Ubuntu

Post by FSC830 »

Now create a One-way Sync Job, select your remote Cifs/SMB as destination and follow the workflow.

Regards
Cdelphi78
Starting out
Posts: 29
Joined: Tue Jan 24, 2023 6:46 pm

Re: Automatic backup on server Ubuntu

Post by Cdelphi78 »

What it is? Haven't encountered?
Image
FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: Automatic backup on server Ubuntu

Post by FSC830 »

No idea what apps are all running at your NAS.
At least the 2nd option could help.

Regards
Cdelphi78
Starting out
Posts: 29
Joined: Tue Jan 24, 2023 6:46 pm

Re: Automatic backup on server Ubuntu

Post by Cdelphi78 »

FSC830 wrote: Mon Jan 30, 2023 9:58 pm No idea what apps are all running at your NAS.
At least the 2nd option could help.

Regards
So what's the problem? Not enough hard drive space? Not enough SWAP? Random access memory? How to add memory?
Cdelphi78
Starting out
Posts: 29
Joined: Tue Jan 24, 2023 6:46 pm

Re: Automatic backup on server Ubuntu

Post by Cdelphi78 »

FSC830 wrote: Mon Jan 30, 2023 6:59 pm Now create a One-way Sync Job, select your remote Cifs/SMB as destination and follow the workflow.

Regards
Synchronization has worked, I understand correctly that HBS overwrites new and modified files?
Image
Cdelphi78
Starting out
Posts: 29
Joined: Tue Jan 24, 2023 6:46 pm

Re: Automatic backup on server Ubuntu

Post by Cdelphi78 »

FSC830 wrote: Mon Jan 30, 2023 6:59 pm Now create a One-way Sync Job, select your remote Cifs/SMB as destination and follow the workflow.

Regards
One more question, please tell me how can I set up sending HBS 3 reports to my mail?
Post Reply

Return to “Backup & Restore”