Community discussions

MikroTik App
 
Lombart
just joined
Topic Author
Posts: 14
Joined: Mon Mar 05, 2012 11:18 am

another import problem

Sat Aug 08, 2020 3:47 pm

hi i just installed installed new SSD to my dude server, (the old one was broken) i do auto export everynight
today i want to import my backup to my new ssd but the result always failed

autobackup script
#mikrotik dude autobackup 
:global thisdate [/system clock get date]
:global datetimestring ([:pick $thisdate 0 3] ."-" . [:pick $thisdate 4 6] ."-" . [:pick $thisdate 7 11])
/dude export-db backup-file="Dude/backup/$[/system identity get name]_$datetimestring"
error when import
.

[admin@Dude] /dude> import-db backup-file=dude/backup/Dude-_aug-02-2020
  status: import failed

.

i make sure my disk name dude, same with the dude database directory, and import progress stop at 95mb
i use x86 server
export file size = 2503.7 MiB
any idea?
MTCNA
 
skullzaflare
newbie
Posts: 30
Joined: Tue Apr 12, 2016 12:01 am

Re: another import problem

Wed Aug 12, 2020 9:31 pm

/dude set data-directory=(new_db_path)


You likely need to reset the DUDE database location, otherwise its trying to restore it to the main self (which i assume only has 95mb free)
 
Lombart
just joined
Topic Author
Posts: 14
Joined: Mon Mar 05, 2012 11:18 am

Re: another import problem

Fri Aug 14, 2020 1:35 pm

/dude set data-directory=(new_db_path)


You likely need to reset the DUDE database location, otherwise its trying to restore it to the main self (which i assume only has 95mb free)
i do set data-directory to my SSD, i have many file backup, the other file just stop at 30mb, and the other one stop at 130mb :( :(
MTCNA
 
nozlaf
just joined
Posts: 3
Joined: Fri Dec 13, 2019 12:02 am

Re: another import problem

Mon Aug 17, 2020 1:27 pm

i agree sounds like your dude data location is not set to the ssd
check it before doing the import

Who is online

Users browsing this forum: No registered users and 27 guests