[SOLVED] Can't change or delete backup task as the name is too long

Backup and data protection discussion at its finest.

Moderator: Lillian.W@AST

Post Reply
melgi
Posts: 51
youtube meble na wymiar Warszawa
Joined: Sun Apr 17, 2016 3:52 am

[SOLVED] Can't change or delete backup task as the name is too long

Post by melgi »

I have an issue. I have two internal backup tasks that perform a similar backup action.

One is called "Scheduled backup fotos en documenten" and the other is called "Backup fotos en documenten". I want to delete the first backup task named "Scheduled backup fotos en documenten" as the tasks perform similar actions. When I try to delete it, I keep getting this message:

"Unknown error. Please contact technical support for more help. (Ref. 5034)". This is due to the name of the backup task I think being longer than 32 characters. I don't know how I got it there, as the task was created years ago. Whenever I try to rename the task and save it, I get the same error.

Is there a way to either delete this task outside of the GUI or rename the task to a shorter name so I can delete it in the GUI?

Regards,

melgi
Last edited by melgi on Tue Aug 18, 2020 9:32 pm, edited 1 time in total.
User avatar
Nazar78
Posts: 2002
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: Can't change or delete backup task as the name is too long

Post by Nazar78 »

You can SSH into the NAS as root then edit/delete the conf and status files content entry: /volume0/usr/builtin/etc/internalbackup/

Example to remove a task, look for the task name then take noted of the UUID in the task.conf, it's also stated in the task.status. Remove these occurrences. Then finally remove the schedule, run: "crontab -e" it will edit using vi. Move your cursor to the beginning of the line where you see the related UUID (id=UUID), then enter: "dd". To save and quit, enter: ":wq". At anytime you made a mistake and want to quit to start over, enter: ":q!".

Or just simply rename to shorten the task name in the task.conf, then remove from ADM itself whichever you prefer.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
melgi
Posts: 51
Joined: Sun Apr 17, 2016 3:52 am

Re: Can't change or delete backup task as the name is too long

Post by melgi »

Nazar78,

Thank you for your help! I managed to change the name in the task.conf en remove the backup task! Again thank you very much for your help as I was having this issue now for a couple of years and just ignored it. Now everything is fine again!
Post Reply

Return to “Backup and Data Protection”