Skip to content

[FIX] remove line problem in backup file#3

Open
anurag270102 wants to merge 1 commit into
dvsu:mainfrom
anurag270102:feature/lp_only
Open

[FIX] remove line problem in backup file#3
anurag270102 wants to merge 1 commit into
dvsu:mainfrom
anurag270102:feature/lp_only

Conversation

@anurag270102
Copy link
Copy Markdown

🔧 Description

This PR adds support for the -lponly flag in the export script.

The -lponly flag ensures that data is exported in line protocol format only, excluding metadata such as database creation statements and retention policies. This results in a lighter, faster, and more efficient export, especially for large datasets and migration use cases.


✅ Changes

  • Added -lponly flag to the influx_inspect export command
  • Reduced unnecessary metadata from export files
  • Improved export performance and reduced file size

🚀 Benefits

  • Faster export execution
  • Lower CPU and disk usage
  • Smaller backup files
  • Better suited for InfluxDB 2.x and cross-environment migrations

🔗 Reference


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant