How To Set Up Automated Nightly Backup For Pos Drive Restaurant Queensland
Summary
This guide helps you troubleshoot and resolve: How To Set Up Automated Nightly Backup For Pos Drive Restaurant Queensland. Follow the steps below to fix the issue.
Common Causes
This guide helps hospitality businesses across Queensland set up automated nightly backups for a Pos Drive restaurant system. Connecting an external backup drive to your POS server or back-office PC and configuring a scheduled task ensures your daily sales, inventory, and customer records are protected without manual intervention. Given regional internet reliability and the risk of power outages or cyclone season disruptions in Queensland, maintaining a reliable local backup is a critical part of your venue's data protection strategy.
Before You Begin
- An external USB hard drive with sufficient free space for your Pos Drive data files.
- Administrator access to the Windows PC acting as your POS server or back-office workstation.
- The location of your Pos Drive data folder on the server.
- The backup drive should remain connected to the PC overnight for scheduled backups to run.
Quick Fix Steps
- Connect the external backup drive to your Pos Drive server or back-office PC.
- Open File Explorer and note the drive letter assigned to the backup drive (for example,
E:orF:). - Locate your Pos Drive data folder.
- Create the
C:\Scriptsdirectory if it does not already exist. - Create a backup batch file using
robocopy. - Use Windows Task Scheduler to create a task that runs nightly, configured to run whether the user is logged on or not.
- Set the action to run your backup batch file.
- Verify the first scheduled backup completes successfully.
Detailed Instructions
Step 1: Connect and Identify the Backup Drive
- Plug the external USB drive into an available port on your POS server or back-office PC.
- Press
Windows key + Eto open File Explorer. - Select This PC from the left navigation pane.
- Under Devices and drives, note the drive letter assigned to your external drive.
Step 2: Locate Your Pos Drive Data Folder
- Open File Explorer.
- Navigate to the folder where Pos Drive stores its database and transaction files. A common location is
C:\PosDrive\Data, though this may vary based on your installation. - Confirm the folder contains your sales and inventory data files before proceeding.
Step 3: Create the Scripts Directory and Backup Batch File
- Open File Explorer and navigate to
C:\. - Right-click in an empty area, select New, then select Folder.
- Name the folder Scripts. If the folder already exists, proceed to the next step.
- Open Notepad.
- Enter a
robocopycommand to copy your Pos Drive data to the external drive. For example:
robocopy "C:\PosDrive\Data" "E:\PosDriveBackup" /E /R:3 /W:5 /LOG:"C:\Scripts\BackupLog.txt" /APPEND
- Replace
C:\PosDrive\Datawith your actual Pos Drive data folder path. - Replace
E:\PosDriveBackupwith your external drive letter and desired backup folder name. - Save the file as
PosDriveBackup.batinC:\Scripts\PosDriveBackup.bat.
/E switch copies all subdirectories, including empty ones, without deleting files from the backup that are no longer in the source. This is safer for backup purposes than /MIR, which mirrors exactly and can delete backup files.robocopy may fail to copy those files or create an inconsistent backup that cannot be restored correctly.Step 4: Configure Power Settings
- Press
Windows key, type Control Panel, and pressEnter. - Go to Hardware and Sound > Power Options.
- Select Change plan settings for your current power plan.
- Click Change advanced power settings.
- Expand Sleep and set Sleep after to Never for both On battery and Plugged in.
- Click OK and Save changes.
Step 5: Schedule the Backup with Task Scheduler
- Press
Windows key, type Task Scheduler, and pressEnter. - In the right-hand Actions pane, select Create Basic Task...
- Enter a name such as Pos Drive Nightly Backup and select Next.
- Choose Daily and select Next.
- Set the start time to a quiet period for your restaurant, such as after closing (for example, 11:00 PM), and select Next.
- Choose Start a program and select Next.
- Under Program/script, enter
C:\Scripts\PosDriveBackup.bat(or the path where you saved your batch file). - Select Next, review the settings, and choose Finish.
- In the main Task Scheduler window, locate your new task in the Task Scheduler Library, right-click it, and select Properties.
- On the General tab, under Security options, select Run whether user is logged on or not.
- On the Conditions tab, select Wake the computer to run this task.
- Click OK to save the changes.
Step 6: Verify the Backup and Test Restore
- Wait for the scheduled time, or manually trigger the task by right-clicking it in Task Scheduler and selecting Run.
- Open File Explorer and navigate to your external backup drive.
- Confirm the Pos Drive data files have been copied to the backup folder.
- Check
C:\Scripts\BackupLog.txtfor any errors. - Periodically test restoring a file from the backup to ensure the backup is usable.
Troubleshooting
Backup Task Does Not Run
- Ensure the external drive remains connected to the PC overnight.
- Confirm the PC is not in sleep or hibernation mode at the scheduled backup time.
- In Task Scheduler, double-click the task and verify it is enabled.
- Check the History tab for error codes.
- Verify the task is configured to Run whether user is logged on or not on the General tab of the task properties.
Backup Folder Is Empty
- Verify the source path in your batch file matches the actual Pos Drive data folder location.
- Ensure the user account running the task has read access to the source folder and write access to the external drive.
- Run the batch file manually to see if any error messages appear.
- Ensure Pos Drive is closed during the backup to avoid file locks.
External Drive Not Recognised
- Disconnect and reconnect the drive.
- Check Disk Management to confirm the drive is online and assigned a drive letter.
- If the drive letter changes, update your batch file and scheduled task accordingly.
Backup Drive Fills Up
- External drives have finite capacity. Over time, nightly backups can consume all available space.
- Implement a retention policy by periodically deleting older backup folders that are no longer needed.
- Modify your batch script to include cleanup logic, or manually remove dated backup folders from the external drive on a monthly basis.
- Monitor free space on the external drive regularly to ensure future backups can complete.
If you need assistance identifying your Pos Drive data folder or configuring the scheduled task, Open a Ticket.
Still Having Issues?
💻 Open a Ticket