Hi Skaros,

You need to specify the Virtuoso configuration ( ie INI) file with the -c or 
+configfile option when restoring the backup such that the database file(s) 
(without or with striping etc) the backup should be restore to ie

$ virtuoso-t +restore-backup bck +configfile virtuoso.ini

                Wed Oct 21 2020
11:45:41 OpenLink Virtuoso Universal Server
11:45:41 Version 07.20.3230-pthreads for Darwin as of Oct 10 2020
11:45:41 uses OpenSSL 1.0.2s  28 May 2019
11:45:41 uses parts of PCRE, Html Tidy
11:45:41 Begin to restore with file prefix bck
11:45:41 --> Backup file # 1 [0x316B-0x57-0xA9]
11:45:42 --> Backup file # 2 [0x316B-0x57-0xA9]
11:45:42 End of restoring from backup, 3342 pages
11:45:42 Server exiting

as detailed in the backup and restore documentation:

        http://docs.openlinksw.com/virtuoso/backup_recovery/#rstrfrmbckuponline

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com
Community Support: https://community.openlinksw.com
Company Blog: https://medium.com/openlink-software-blog
Virtuoso Blog: https://medium.com/virtuoso-blog
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers





> On 21 Oct 2020, at 11:19, skaros <skaro...@hotmail.com> wrote:
> 
> Hi all, I am trying to restore a database that i used the online backup. I 
> have a folder that contains my backup files ( some 200 db files)
> 
> I try to restore them on an empty instance by using
> 
> $ sudo /opt/virtuoso-7.1.0/bin/virtuoso-t +restore-backup virt-inc_dump_#
> 
> but I am getting an error
> 
>     There is no configuration file virtuoso.ini.
> 
> The file virtuoso.ini does exists on the bin folder, and i can start it by 
> just typing
> 
> ./virtuoso-t
> 
> if i am inside the bin folder, but not using
> 
> sudo /opt/virtuoso-7.1.0/bin/virtuoso-t -f
> which gives me the same error.
> 
> I have read on the documentation that i need to be in the same folder where 
> the bp files are stored, so when i cd to the virtuoso folder I am getting the 
> following error
> 
> sudo ./virtuoso-t +foreground +restore-backup 
> /home/rdfFilesPath/virt-inc_dump_# -f
> 
> Could not restore database using prefix /home/rdfFilesPath/virt-inc_dump_#
> 
> any help? thanks
> 
> 
> 
> _______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users



_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to