Tabelas X Backup
estou tentando fazer um backup simples dentro do sistema, zipando minhas tabelas, mas simplesmente exibe essa mensagem de erro dentro do winzip, como se minhas tabelas estivessem em uso, eu desativei todas as tabelas no evento onshow no form backup
WinExec(PChar(´C:\Arquivos de Programas\WinZip\WinZip32 -min -a -r ´c:\sistema\backup\backup.zip´ ´c:\sistema\*.db´´),SW_MAXIMIZE);
mensagem de erro:
Action: Add (and replace) files Include subfolders: yes Save full path: no
Include system and hidden files: yes
updating cadastro_teste.DB
updating cadastro_plantec.DB
updating cad_plantec_testes.db
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: c:/sistema/cad_plantec_testes.db
replacing old Zip file
WinExec(PChar(´C:\Arquivos de Programas\WinZip\WinZip32 -min -a -r ´c:\sistema\backup\backup.zip´ ´c:\sistema\*.db´´),SW_MAXIMIZE);
mensagem de erro:
Action: Add (and replace) files Include subfolders: yes Save full path: no
Include system and hidden files: yes
updating cadastro_teste.DB
updating cadastro_plantec.DB
updating cad_plantec_testes.db
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: c:/sistema/cad_plantec_testes.db
replacing old Zip file
Norotico
Curtidas 0
Respostas
Aroldo Zanela
26/11/2003
Colega,
Parece que realmente há algum problema com suas tabelas. Tente com outros arquivos para se certificar que a instrução está correta, pois a princípio está.
Parece que realmente há algum problema com suas tabelas. Tente com outros arquivos para se certificar que a instrução está correta, pois a princípio está.
GOSTEI 0
Norotico
26/11/2003
COM OUTROS ARQUIVOS FUNCIONA, SOMENTE COM MINHAS TABELAS QUE NÃO
GOSTEI 0
Jdteichert
26/11/2003
Também uso este comando e funciona. Acontece que você tem que fechar todas as tabelas, uma a uma, antes de começar o backup.
Ex.:
tabela1.close;
tabela2.close;
...
Por garantia, faça isso com todas as tabelas.
Ok!
Ex.:
tabela1.close;
tabela2.close;
...
Por garantia, faça isso com todas as tabelas.
Ok!
GOSTEI 0