Mark Rotteveel wrote 12.10.2021 10:55:
It allows you to restore tablespace contents to new places.
If the option is not specified gbak will use old locations for every tablespace.

I still think this should be an explicit option as well, otherwise surprising things - for the user - can happen when restoring a backup of a database you didn't know had tablespaces.

"Surprising" is a weak word. Imagine a backup of a database with absolute file paths restored to the same host as original database. People often do that to check backup's consistency. What is worse, imagine a malicious backup with forged tablespace names like /etc/shadow.

--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to