Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
Stray File Scripts
Updated Aug 07, 2024

Stray File Scripts

Aug 07, 2024
Subscribe

About Administrator Credentials

The following table provides information to help determine which platforms require Administrator credentials.

If running the script using…

Then…

Windows Server 2012/R2 or Windows 8.1

The login user must have Administrator credentials.

Windows Server 2008 R2, SBS 2011, or Windows 7

  • If UAC is turned off, the login user does not need Administrator credentials.

  • If UAC is turned on, the login user must have Administrator credentials.

Windows 2003

The login user does not need Administrator credentials.

Generating a Stray File List Script

To generate a stray file list script, perform the following steps.

  1. At the local machine, create an XML file.
    Example File Name: C:\StrayFileList.xml

  2. Type, or cut and paste, the following script into the newly created file.

  3. Open the command window and type the following command.


    The command is displayed.

    After the command runs, a CSV file is created that is named:
    AccountName-Subaccount-mm-dd-yyyy-StrayFileList.csv is generated in C:\Program Files(x86)\Intronis Technologies\eSureIT\reports\StrayFileReports\.

    Example CSV file: Intronis-0001-03-24-2015-StrayFileList.csv
     
    Note: In the  example script, c:\Program Files (x86)\Intronis Technologies\eSureIT\BackupCLI.exe is the default, unbranded installation directory for Barracuda.
    If you rebranded the software, then use the branded installation directory path.
    The file name, “/in c:\StrayFileList.xml,” is based on of the XML file you created.
    If you named the XML files something other than c:\StrayFileList.xml, use the new name in the script instead.

  4. Open the CSV file to display all stray files.


    Note: While the above example uses 50 files as the maximum and d:\ as the report save location, you can display any number of files, and save the report to any local storage location.

Generating a List of the Largest Stray Files to a Specified Path

To generate a list of the 50 largest stray files to a specified path, perform the following steps.

  1. At the local machine, create an XML file.
    Example File Name: C:\StrayFileList.xml

  2. Type the following script into the newly created file.

  3. Open the command window and type the following command.

  4. After the command runs, a CSV file that includes the 50 largest stray files is generated in d:\.

Remotely Generating a Stray File List

This section provides a scenario and the procedure for remotely generating a stray file list.

Scenario

There are two computers with Agents installed.

On computer A, the Agent uses an account (example, AccountName | Subaccount | Password: Barracuda | 0001 | P@ssword1).

On computer B, the Agent uses another account (example, AccountName | Subaccount | Password: Barracudatest | 0002 | 1234.com).

Procedure

To generate a stray file list script remotely, perform the following steps.

  1. At the local machine, create an XML file.
    Example File Name: C:\StrayFileList.xml

  2. Type the following script into the newly created file.

  3. Open the command window and type the following command.


    The command is displayed.

    After the command runs on computer B the stray file list is generated in C:\Program Files(x86)\Intronis Technologies\eSureIT\reports\StrayFileReports\.

  4. Open the .CSV file to display all stray files.

Locally Generating a Stray File List Using .bat File

To generate a stray file list locally using a .bat file, perform the following steps.

  1. At the local machine, at the agent installation path (C:\Program Files(x86)\Intronis Technologies\eSureIT\), create a .bat file.

  2. Type, or cut and paste, the following script into the newly created file.

  3. Double-click the .bat file.
    After the command window automatically closes, the stray file list is generated in the default path
    C:\Program Files(x86)\Intronis Technologies\eSureIT\reports\StrayFileReports\.


We value your feedback.
If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
For general product inquiries or technical support, please contact the global Barracuda Support team.

🔍 Discover Our Product Documentation

Intronis Backup
Results will update as you type.
  • Intronis Backup Release Notes
  • Initial Seed/Restore Drive for IBU
  • Getting Started with Intronis Backup (ECHOplatform)
  • Managing Intronis Backup (IBU)
    • Intronis Backup Agent
    • Managing IBU Branding
    • Using the Home Dashboard
    • Managing Multi-Factor Authentication
    • Managing Accounts
    • Manage Accounts/Packages
    • Managing Account Billing
    • Managing Partner Pricing
    • Viewing Reports and Logs
    • Managing Alert, Notification and Preference Templates
    • Software User Interface
    • Managing Backups and Restores
      • Exporting a Computer Account's Backup Selection
      • About Deleting Backup Data vs. Removing Backup Sets
      • Files and Folders
        • File and Folder Backups
        • Restores
        • FAQs
        • Managing Stray Files
          • About Stray Files
          • Adding Stray File Preferences Templates
          • Setting Preferences for Stray Files from Computer Page
          • Editing Stray File Templates
          • Applying Stray File Templates to an Account
          • Changing a Package Plan for an Account with Stray File Settings
          • Setting a Stray File Retention Rule
          • Stray File Scripts
          • Stray File Reporting
          • Deleting Stray Files
      • Hyper-V
      • VMware
      • Exchange
      • Imaging
      • System State
      • SQL
    • Intronis Backup Reference Articles
    • Managing Legacy IBU Integrations
    • Barracuda REST APIs for the Echoplatform Portal
    • Barracuda REST APIs for IBU
    • IBU Best Practices
  • Contacting Partner Support
  • Troubleshooting Volume Shadow Copy Problems
  • Allocating Shadow Copy Storage Space
  • VSS Error Message: Snapshots were found, but they were outside of your allowed context
  • The VSS Writer Is in a Bad State
  • Fixing Problems with Volume Shadow Copy
  • Creating a VSS Shadow Copy Independently

    You‘re viewing this with anonymous access, so some content might be blocked.
    {"serverDuration": 11, "requestCorrelationId": "7549bd757e2f4332a2aac65d98cb7063"}