Community discussions

MikroTik App
 
User avatar
reevansxyz
just joined
Topic Author
Posts: 18
Joined: Sat Jul 02, 2022 7:49 pm
Location: Asia/Kuala_Lumpur
Contact:

"mv example.backup ~/disk1/backup" but for ROS v7

Wed Aug 24, 2022 4:49 pm

Greetings,

I've written a simple script for backing up my sys-conf, tho I'm not sure how or what command(s) I am able to add, for it to move the .backup file into ~/disk1/backup
:log info "initiating system configuration backup"
:delay 1s
/system backup
  save name="" password="████████████████████"
:log info "completed system configuration backup"

Cheers,
Reev
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: "mv example.backup ~/disk1/backup" but for ROS v7  [SOLVED]

Wed Aug 24, 2022 6:14 pm

You can add path as part of "name" parameter. But it seems that you'd have to create whole unique names yourself. Which I'm sure is possible too.
 
User avatar
reevansxyz
just joined
Topic Author
Posts: 18
Joined: Sat Jul 02, 2022 7:49 pm
Location: Asia/Kuala_Lumpur
Contact:

Re: "mv example.backup ~/disk1/backup" but for ROS v7

Wed Aug 24, 2022 7:20 pm

You can add path as part of "name" parameter. But it seems that you'd have to create whole unique names yourself. Which I'm sure is possible too.
Thanks a heap Sob, you're amazing; I can confirm that it works!
Image

Cheers,
Reev

Who is online

Users browsing this forum: Google [Bot] and 15 guests