Menu

#19 Backup project does not really show all the files to be backed up

Closed
closed-fixed
nobody
None
5
2026-02-07
2016-06-09
No

Backup project does not really show all the files to be backed up:
* If c:\source\project.dpr contains {#BACKUP .txt} the list shows c:\source*.txt rather than the actual file c:\source\project.txt that gets backed up.
* if c:\source\unit1.pas contains {#BACKUP
.txt} the list shows c:\source*.txt rather than the actual file c:\source\unit.txt that getsbacked up.
* If {#BACKUP some\path*.txt} is used in one of these files, the list shows some\path*.txt rather than the files matching that mask which will get backed up.
* a special case of the latter is {#BACKUP .*.txt} which means all files in the directory containing the source file with that #BACKUP directive.
* The help is not really clear about the various uses of wildcards listed above.

Discussion

  • Erik Berry

    Erik Berry - 2016-07-31
    • Group: Closed --> New
     
  • freeman35

    freeman35 - 2020-05-10

    Hi, any news for this bug? since 2016 :)

     
    • Thomas Mueller

      Thomas Mueller - 2020-05-11

      Did you just volunteer to fix it? ;-)

       
      • freeman35

        freeman35 - 2020-05-11

        If I can do, Why not my friend :) But need more help, 'cos I don't know your classes, and where can I start.

         
  • freeman35

    freeman35 - 2026-02-04

    {#+BACKUP ...._files*.css} // apply mask, recursive folder add files to backup list
    {#+BACKUP ...._files*.js}
    {#BACKUP .sql} //add masked file(s) to backup list
    {#-BACKUP
    .json} //exclude this mask to backup list
    {#-BACKUP ....\baseFoo*.*}//exclude all folder, recursive folder

    for FileList use TListView;
    I added patch file.

     
  • Thomas Mueller

    Thomas Mueller - 2026-02-07
    • status: open --> closed-fixed
    • Group: New --> Closed
     
  • Thomas Mueller

    Thomas Mueller - 2026-02-07

    fixed in revision #5079
    Thanks for the patch.

     

Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.