Code Monkey home page Code Monkey logo

Comments (8)

HoffmannTom avatar HoffmannTom commented on August 10, 2024

Hello,
the download is at https://github.com/HoffmannTom/outlookbackupaddin/releases/tag/1.10
It's contained in the zip-package.
Open the OutlookBackupAddIn.zip and check the folder "sample-scripts".

Greetings, Thomas

from outlookbackupaddin.

menedj avatar menedj commented on August 10, 2024

Hi Thomas,
Thank you for the link! I modified the backup from REGEDIT so that the OST files are compressed and so far so good.
I inserted keep_n_backups.bat among the commands to be executed post backup: it correctly renames the files compressed by [email protected] to [email protected]_0.bak
At the end, however, the window does NOT close but it gives me this message, and I have to manually close the window. What am I doing wrong?


11:27:48 Starting post-backup cmd: C:\Backup_Outlook\OST-PST\keep_n_backups.bat
11:27:48
11:27:48
11:27:48 One or more errors occurred. Please check the messages above and close this window manually.

from outlookbackupaddin.

HoffmannTom avatar HoffmannTom commented on August 10, 2024

Hello,
it looks like the script has an exit-value not equal to 0.
If the script returns something > 0, then it is considered as an error.

For testing purposes you can try "exit /b 0" at the end of the script to override a possible error.
Fixing the error or warning in the script is preferred (if that's the reason).

Greetings, Thomas

from outlookbackupaddin.

menedj avatar menedj commented on August 10, 2024

from outlookbackupaddin.

HoffmannTom avatar HoffmannTom commented on August 10, 2024

Hello,
you can add a move after the ren(ame) in the FOR-loop.
But you must also adjust the delete and if-exists a line above.
Not tested, just by viewing the code. Maybe you need to do further adjustments.
You are free to modify the script according to your needs.
No guarantee from my side ;)

The window stays open, whenever a warning or error is shown.
Your snipped is just the last part. Maybe you can take a look above, if something happened.
Or you can post the whole (anonymized) content of the window.

Greetings, Thomas

from outlookbackupaddin.

HoffmannTom avatar HoffmannTom commented on August 10, 2024

Hello,
I will close this issue within the next 7 days if no further information is provided.
Greetings, Thomas

from outlookbackupaddin.

menedj avatar menedj commented on August 10, 2024

from outlookbackupaddin.

HoffmannTom avatar HoffmannTom commented on August 10, 2024

Hello!
How large is your outlook file?
It looks like an integer overflow
Greetings, Thomas

from outlookbackupaddin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.