0

I am developing an accounting application in 4D. So, I need to take differential backups everyday.

I tried to take backups by configuring in database settings but 4D only takes the full backups (not differential backup).

Do 4D database support differential backup? Is it possible?

Thanks in advance.

Suniel
  • 1,449
  • 8
  • 27
  • 39

1 Answers1

2

Take a look at the backup log file that is tied into the 4D backup system.

When the backup log file is enabled a new log will be created after each backup, it will contain all of the changes until the next backup. In this way the log file file is linked to the previous backup and could be integrated back into the restored database.

To take it a step further take a look at the NEW LOG FILE command. This will force the creation of a new log file without doing a backup. Once done the previous log would essentially be your differential backup.

More information on managing the log file is available here


There is also replication and mirroring options.

Tim Penner
  • 3,551
  • 21
  • 36
  • Thank you so much for your quick response. Does that log file contains only the changes until the next backup? For eg I have set the configuration to take backups everyday. In this case, the differential backup should reflect only the changes of that particular day. In other words, the differential backup of monday should only have the changes that take place on monday. Thank you. – Suniel May 25 '16 at 03:45
  • If you do a backup at midnight each day and also utilize the log system then the log file will contain only the changes for each day. The log file is named with a .journal file but once the next backup runs it will become a .4bl file next to your .4bk backups and a new .journal file is created. – Tim Penner May 25 '16 at 14:43